Created
September 5, 2009 23:42
-
-
Save perlDreamer/181561 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sub sm_upgradeConfigFiles { | |
my ($session) = @_; | |
print "\tAdding Story Manager to config file... " unless $quiet; | |
my $config = $session->config; | |
$config->addToHash( | |
'assets', | |
'WebGUI::Asset::Wobject::StoryTopic' => { | |
'category' => 'community' | |
}, | |
); | |
$config->addToHash( | |
'assets', | |
"WebGUI::Asset::Wobject::StoryArchive" => { | |
"isContainer" => 1, | |
"category" => "community" | |
}, | |
); | |
$config->addToArray('workflowActivities/None', 'WebGUI::Workflow::Activity::ArchiveOldStories'); | |
print "DONE!\n" unless $quiet; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment