summaryrefslogtreecommitdiff
path: root/rt/etc/upgrade/shrink_transactions_table.pl
diff options
context:
space:
mode:
Diffstat (limited to 'rt/etc/upgrade/shrink_transactions_table.pl')
-rw-r--r--rt/etc/upgrade/shrink_transactions_table.pl6
1 files changed, 3 insertions, 3 deletions
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
# <sales@bestpractical.com>
#
# (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 => '=',