Fix rendering of the carousel inside of a Story. Fixes bug #12386
This commit is contained in:
parent
50c7634800
commit
e046e5a8ce
8 changed files with 55 additions and 4 deletions
Binary file not shown.
|
|
@ -32,6 +32,7 @@ my $session = start(); # this line required
|
|||
|
||||
# upgrade functions go here
|
||||
fixMetaDataRevisionDates($session);
|
||||
addPhotoHeightToStoryArchive($session);
|
||||
|
||||
finish($session); # this line required
|
||||
|
||||
|
|
@ -91,6 +92,22 @@ sub fixMetaDataRevisionDates {
|
|||
}
|
||||
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# Describe what our function does
|
||||
sub addPhotoHeightToStoryArchive {
|
||||
my $session = shift;
|
||||
print "\tAdd Photo Height to the Story Manager... " unless $quiet;
|
||||
# and here's our code
|
||||
$session->db->write(<<EOSQL);
|
||||
ALTER TABLE StoryArchive add column photoHeight INT(11);
|
||||
EOSQL
|
||||
$session->db->write(<<EOSQL);
|
||||
UPDATE StoryArchive set photoHeight=300
|
||||
EOSQL
|
||||
print "DONE!\n" unless $quiet;
|
||||
}
|
||||
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# Describe what our function does
|
||||
#sub exampleFunction {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue