X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fetc%2Fupgrade%2Fshrink_transactions_table.pl;h=c23d091880ab36e15cdca446b97ea6eb7c5f7eb4;hb=0bff2e665b3a6389b47510e4c04a5a454f6dd7d4;hp=b4f2e19078b933e2a3c7cba2becd3eb7d7d9a8bb;hpb=fc6209f398899f0211cfcedeb81a3cd65e04a941;p=freeside.git diff --git a/rt/etc/upgrade/shrink_transactions_table.pl b/rt/etc/upgrade/shrink_transactions_table.pl index b4f2e1907..c23d09188 100644 --- a/rt/etc/upgrade/shrink_transactions_table.pl +++ b/rt/etc/upgrade/shrink_transactions_table.pl @@ -1,9 +1,9 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # BEGIN BPS TAGGED BLOCK {{{ # # COPYRIGHT: # -# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC # # # (Except where explicitly superseded by other copyright notices) @@ -56,7 +56,7 @@ RT->Config->Set('LogToScreen' => 'debug'); RT::Init(); use RT::Transactions; -my $txns = RT::Transactions->new( $RT::SystemUser ); +my $txns = RT::Transactions->new( RT->SystemUser ); $txns->Limit( FIELD => 'ObjectType', OPERATOR => '=',