[Rt-commit] [rtir] 06/30: Switch %TYPE to use lifecycle methods (and Countermeasures)
Shawn Moore
shawn at bestpractical.com
Fri May 13 19:53:03 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 99ef2bfd513c27636b9cf48f96b5d103be49d866
Author: Shawn M Moore <shawn at bestpractical.com>
Date: Wed Feb 24 23:43:12 2016 +0000
Switch %TYPE to use lifecycle methods (and Countermeasures)
---
lib/RT/IR.pm | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/lib/RT/IR.pm b/lib/RT/IR.pm
index 1354915..b95d5ce 100644
--- a/lib/RT/IR.pm
+++ b/lib/RT/IR.pm
@@ -75,11 +75,12 @@ sub lifecycle_countermeasure {'countermeasures'}
my @LIFECYCLES = (RT::IR->lifecycle_incident, RT::IR->lifecycle_report, RT::IR->lifecycle_investigation, RT::IR->lifecycle_countermeasure);
my %TYPE = (
- 'incidents' => 'Incident',
+ RT::IR->lifecycle_incident => 'Incident',
+ RT::IR->lifecycle_report => 'Report',
+ RT::IR->lifecycle_investigation => 'Investigation',
+ RT::IR->lifecycle_countermeasure => 'Countermeasure',
+
'incident reports' => 'Report',
- 'incident_reports' => 'Report',
- 'investigations' => 'Investigation',
- 'blocks' => 'Block',
);
# these are used by initialdata to form the default queue names
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the rt-commit
mailing list