[Rt-commit] r15585 - in rt/branches/3.999-DANGEROUS: bin

sunnavy at bestpractical.com sunnavy at bestpractical.com
Wed Aug 27 23:45:16 EDT 2008


Author: sunnavy
Date: Wed Aug 27 23:45:14 2008
New Revision: 15585

Modified:
   rt/branches/3.999-DANGEROUS/   (props changed)
   rt/branches/3.999-DANGEROUS/bin/rt-crontool

Log:
 r16231 at sunnavys-mb:  sunnavy | 2008-08-28 11:39:42 +0800
 removed "package RT;" use init_jifty to init Jifty in rt-crontool


Modified: rt/branches/3.999-DANGEROUS/bin/rt-crontool
==============================================================================
--- rt/branches/3.999-DANGEROUS/bin/rt-crontool	(original)
+++ rt/branches/3.999-DANGEROUS/bin/rt-crontool	Wed Aug 27 23:45:14 2008
@@ -51,13 +51,13 @@
 
 use lib ("/home/jesse/svk/3.999-DANGEROUS/local/lib", "/home/jesse/svk/3.999-DANGEROUS/lib");
 
-BEGIN { use Jifty; Jifty->new }
-
-package RT;
+use RT;
 
 use Getopt::Long;
 
-use RT::Interface::CLI qw(clean_env get_current_user get_message_content loc);
+BEGIN { RT::init_jifty(); }
+
+use RT::Interface::CLI qw(clean_env get_current_user get_message_content );
 use RT::Model::TicketCollection;
 use RT::Model::Template;
 


More information about the Rt-commit mailing list