[Rt-commit] [rtir] 01/02: Remove requirement for RTFM in 1.9.0 upgrade script

Jim Brandt jbrandt at bestpractical.com
Fri Jun 21 08:03:44 EDT 2013


This is an automated email from the git hooks/post-receive script.

jbrandt pushed a commit to branch 2.9/dont-require-rtfm-for-1.9.0-upgrade
in repository rtir.

commit 9b591ba99f8ea86b299216552b977aab5e78472f
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Thu Jun 20 14:36:56 2013 -0400

    Remove requirement for RTFM in 1.9.0 upgrade script
    
    RTIR 3 will require some version of RT4 which now includes RTFM
    in core as Articles, so the RTFM is no longer required.
---
 etc/upgrade/1.9.0/content | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/etc/upgrade/1.9.0/content b/etc/upgrade/1.9.0/content
index d19baa8..3e8bdd9 100644
--- a/etc/upgrade/1.9.0/content
+++ b/etc/upgrade/1.9.0/content
@@ -35,15 +35,8 @@ sub delete_scrip {
 }
 
 @Initial = ( sub {
-    eval { require RT::FM; };
-    if ($@) {
-        die "RTIR is built on top of RTFM; please install RTFM before continuing.\n";
-    }
-}, sub {
     delete_scrip( { Description => 'NotifyOnLaunch', Queue => 'Investigations' } );
     delete_scrip( { Description => 'NotifyOnCreate', Queue => 'Blocks' } );
-
-    
 } );
 
 @CustomFields = (

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


More information about the Rt-commit mailing list