X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fetc%2Fupgrade%2F4.0-customfield-checkbox-extension.in;h=8ca22c81fb4965e94d92a57d025180a4e17c2506;hb=9ce482da3960ee43decee41fba53b78c12c3e52c;hp=9e0d1bf19101be6021aaabf0555bb29a5218a50f;hpb=ba46a6a90321490da78c764657ae19d5c6fd81f8;p=freeside.git diff --git a/rt/etc/upgrade/4.0-customfield-checkbox-extension.in b/rt/etc/upgrade/4.0-customfield-checkbox-extension.in index 9e0d1bf19..8ca22c81f 100644 --- a/rt/etc/upgrade/4.0-customfield-checkbox-extension.in +++ b/rt/etc/upgrade/4.0-customfield-checkbox-extension.in @@ -3,7 +3,7 @@ # # COPYRIGHT: # -# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2016 Best Practical Solutions, LLC # # # (Except where explicitly superseded by other copyright notices) @@ -46,15 +46,16 @@ # those contributions and any derivatives thereof. # # END BPS TAGGED BLOCK }}} +use 5.10.1; use strict; use warnings; use lib "@LOCAL_LIB_PATH@"; use lib "@RT_LIB_PATH@"; -use RT; -RT::LoadConfig(); -RT::Init(); +use RT -init; + +$| = 1; use RT::CustomFields; my $cfs = RT::CustomFields->new( RT->SystemUser );