From 4d52b020dea7c53fca6577dfedbae8523d878933 Mon Sep 17 00:00:00 2001 From: James Tolley Date: Mon, 9 Jul 2007 22:05:38 +0000 Subject: [PATCH] notify admins of version tags fix --- docs/upgrades/upgrade_7.3.19-7.4.0.pl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/upgrades/upgrade_7.3.19-7.4.0.pl b/docs/upgrades/upgrade_7.3.19-7.4.0.pl index b6d5fab6c..75840aa6f 100644 --- a/docs/upgrades/upgrade_7.3.19-7.4.0.pl +++ b/docs/upgrades/upgrade_7.3.19-7.4.0.pl @@ -47,7 +47,12 @@ sub addCanStartThreadToCS { # set defaults for existing records $session->db->write('UPDATE Collaboration SET canStartThreadGroupId = postGroupId'); $session->db->write('UPDATE Collaboration SET threadApprovalWorkflow = approvalWorkflow'); - + + # add it to the config file + my $workflowActivities = $session->config->get('workflowActivities'); + push @{ $workflowActivities->{None} }, 'WebGUI::Workflow::Activity::NotifyAdminsWithOpenVersionTags'; + $session->config->set('workflowActivities',$workflowActivities); + return; }