fixed #9542: Default WebGUI config contains invalid workflow activity

This commit is contained in:
Graham Knop 2009-02-03 23:28:25 +00:00
parent 2c60d6e7a8
commit 3433c7c332
3 changed files with 13 additions and 4 deletions

View file

@ -13,6 +13,7 @@
- fixed: Many child assets, including WikiPage, Post and Event, will no longer let you add or paste them in places where they do not belong.
- fixed: Hardcoded extras url in templates and in extra head tags in assets were replaced with the Extras macro.
- fixed: Fixed bad gateway macros in the Matrix templates.
- fixed #9542: Default WebGUI config contains invalid workflow activity
7.6.10
- fixed #9577: WebGUI::Form::Url::getValue returns blank rather than undef for blank fields

View file

@ -33,8 +33,7 @@ my $session = start(); # this line required
hideGalleryAlbums($session);
removeBrokenWorkflowInstances($session);
undotBinaryExtensions($session);
# upgrade functions go here
removeProcessRecurringPaymentsFromConfig($session);
finish($session); # this line required
@ -48,6 +47,17 @@ finish($session); # this line required
# print "DONE!\n" unless $quiet;
#}
#----------------------------------------------------------------------------
sub removeProcessRecurringPaymentsFromConfig {
my $session = shift;
print "\tRemoving old ProcessRecurringPayments workflow activity from config..." unless $quiet;
$session->config->deleteFromArray('workflowActivities/None',
'WebGUI::Workflow::Activity::ProcessRecurringPayments');
print "Done.\n" unless $quiet;
}
#----------------------------------------------------------------------------
sub hideGalleryAlbums {
my $session = shift;

View file

@ -533,7 +533,6 @@
"category" : "utilities"
},
"WebGUI::Asset::Sku::Product" : {
"isContainer" : 1,
"category" : "shop"
},
"WebGUI::Asset::Wobject::WeatherData" : {
@ -803,7 +802,6 @@
"WebGUI::Workflow::Activity::ExpireSubscriptionCodes",
"WebGUI::Workflow::Activity::GetSyndicatedContent",
"WebGUI::Workflow::Activity::NotifyAdminsWithOpenVersionTags",
"WebGUI::Workflow::Activity::ProcessRecurringPayments",
"WebGUI::Workflow::Activity::PurgeOldAssetRevisions",
"WebGUI::Workflow::Activity::PurgeOldTrash",
"WebGUI::Workflow::Activity::SendQueuedMailMessages",