summaryrefslogtreecommitdiff
path: root/rt/etc/upgrade/4.0-customfield-checkbox-extension
diff options
context:
space:
mode:
Diffstat (limited to 'rt/etc/upgrade/4.0-customfield-checkbox-extension')
-rwxr-xr-xrt/etc/upgrade/4.0-customfield-checkbox-extension7
1 files changed, 4 insertions, 3 deletions
diff --git a/rt/etc/upgrade/4.0-customfield-checkbox-extension b/rt/etc/upgrade/4.0-customfield-checkbox-extension
index 5f04cb1f0..dc8904e43 100755
--- a/rt/etc/upgrade/4.0-customfield-checkbox-extension
+++ b/rt/etc/upgrade/4.0-customfield-checkbox-extension
@@ -46,15 +46,16 @@
# 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 );