RT 4.2.11, ticket#13852
[freeside.git] / rt / etc / upgrade / 4.0-customfield-checkbox-extension
index 5f04cb1..dc8904e 100755 (executable)
 # those contributions and any derivatives thereof.
 #
 # END BPS TAGGED BLOCK }}}
+use 5.10.1;
 use strict;
 use warnings;
 
 use lib "/opt/rt3/local/lib";
 use lib "/opt/rt3/lib";
 
-use RT;
-RT::LoadConfig();
-RT::Init();
+use RT -init
+
+$| = 1;
 
 use RT::CustomFields;
 my $cfs = RT::CustomFields->new( RT->SystemUser );