[Rt-commit] [rtir] 01/01: Avoid warnings about lifecycle blocks being absent during upgrade

Shawn Moore shawn at bestpractical.com
Fri May 13 19:57:08 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 d1c8e308e8fd6fcda7aee431a601b10a89a4e7ba
Author: Shawn M Moore <shawn at bestpractical.com>
Date:   Fri May 13 23:56:45 2016 +0000

    Avoid warnings about lifecycle blocks being absent during upgrade
---
 etc/upgrade/3.3.0/content | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/etc/upgrade/3.3.0/content b/etc/upgrade/3.3.0/content
index 02eb690..846068f 100644
--- a/etc/upgrade/3.3.0/content
+++ b/etc/upgrade/3.3.0/content
@@ -1,6 +1,10 @@
 use strict;
 use warnings;
 
+# for this upgrade step only, avoid warnings about the old lifecycle name
+# by stubbing it in for now
+$RT::Lifecycles{blocks} = $RT::Lifecycles{countermeasures};
+
 our @CustomFields = (
     {
         Name        => 'RTIR Constituency',

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the rt-commit mailing list