Add a minimum height to the Carousel due to further rendering problems. Fixes bug #11457.

This commit is contained in:
Colin Kuskie 2010-07-12 14:49:53 -07:00
parent 5ced1c3bcf
commit e66be2a5b3
5 changed files with 37 additions and 0 deletions

View file

@ -32,6 +32,7 @@ my $session = start(); # this line required
# upgrade functions go here
addIndexToUserSessionLog($session);
addHeightToCarousel($session);
finish($session); # this line required
@ -54,6 +55,15 @@ sub addIndexToUserSessionLog {
print "DONE!\n" unless $quiet;
}
#----------------------------------------------------------------------------
# Describe what our function does
sub addHeightToCarousel {
my $session = shift;
print "\tAdd slide height to Carousel... " unless $quiet;
$session->db->write(q|alter table Carousel add column slideHeight int(11)|);
print "DONE!\n" unless $quiet;
}
# -------------- DO NOT EDIT BELOW THIS LINE --------------------------------