add #455: Featured page in wiki

This commit is contained in:
Doug Bell 2009-09-10 15:57:59 -05:00
parent cf9df28ddd
commit 6da85b89a7
8 changed files with 152 additions and 0 deletions

View file

@ -35,6 +35,7 @@ reorganizeAdSpaceProperties($session);
fixTemplateSettingsFromShunt($session);
addSubscribableAspect( $session );
addMatrixColumnDefaults($session);
addFeaturedPageWiki( $session );
finish($session); # this line required
@ -48,6 +49,19 @@ finish($session); # this line required
# print "DONE!\n" unless $quiet;
#}
#----------------------------------------------------------------------------
# Add the column for featured wiki pages
sub exampleFunction {
my $session = shift;
print "\tAdding featured pages to the Wiki " unless $quiet;
$session->db->write(
"ALTER TABLE WikiPage ADD COLUMN isFeatured INT(1)",
);
print "DONE!\n" unless $quiet;
}
#----------------------------------------------------------------------------
# Add tables for the subscribable aspect
sub addSubscribableAspect {