Add workflow activity
This commit is contained in:
parent
82cd25e5b4
commit
f299158fbb
1 changed files with 7 additions and 0 deletions
|
|
@ -165,7 +165,14 @@ sub addPluginsToConfigFile {
|
||||||
insert_after_string 'WebGUI::Content::Shop', 'WebGUI::Content::NewsletterManager', @handlers;
|
insert_after_string 'WebGUI::Content::Shop', 'WebGUI::Content::NewsletterManager', @handlers;
|
||||||
$session->config->set( 'contentHandlers', \@handlers );
|
$session->config->set( 'contentHandlers', \@handlers );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
my @workflows = @{ $session->config->get('workflowActivities/None') };
|
||||||
|
if ( !grep { $_ eq 'WebGUI::Workflow::Activity::SendQueuedMailings' } @workflows ) {
|
||||||
|
push @workflows, 'WebGUI::Workflow::Activity::SendQueuedMailings';
|
||||||
|
$session->config->set( 'workflowActivities/None', \@workflows );
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
print "Done.\n";
|
print "Done.\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue