[Rt-commit] [rtir] 01/01: Upgrade old "blocks" lifecycles to countermeasures
Shawn Moore
shawn at bestpractical.com
Thu May 12 20:28:31 EDT 2016
This is an automated email from the git hooks/post-receive script.
shawn pushed a commit to branch 3.4/countermeasures
in repository rtir.
commit a4946ac913a54a81ade5c3aa9815ddd5475f9545
Author: Shawn M Moore <shawn at bestpractical.com>
Date: Thu May 12 23:50:07 2016 +0000
Upgrade old "blocks" lifecycles to countermeasures
---
etc/upgrade/3.3.0/content | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/etc/upgrade/3.3.0/content b/etc/upgrade/3.3.0/content
index 424956e..02eb690 100644
--- a/etc/upgrade/3.3.0/content
+++ b/etc/upgrade/3.3.0/content
@@ -50,6 +50,15 @@ our @Final = (
for ( 'RTIR_RequireConstituencyChange', 'RTIR_RequireConstituencyGroupChange' );
}
+ # rename blocks to countermeasures
+ {
+ my $queues = RT::Queues->new(RT->SystemUser);
+ $queues->Limit(FIELD => 'Lifecycle', VALUE => 'blocks');
+ while (my $queue = $queues->Next) {
+ $queue->SetLifecycle(RT::IR->lifecycle_countermeasure);
+ }
+ }
+
# update values of rtir constituency
my @constituencies;
{
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the rt-commit
mailing list