diff options
Diffstat (limited to 'rt/lib/RT/Shredder/Plugin/Tickets.pm')
-rw-r--r-- | rt/lib/RT/Shredder/Plugin/Tickets.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rt/lib/RT/Shredder/Plugin/Tickets.pm b/rt/lib/RT/Shredder/Plugin/Tickets.pm index 8b499e37d..67ee4a6cb 100644 --- a/rt/lib/RT/Shredder/Plugin/Tickets.pm +++ b/rt/lib/RT/Shredder/Plugin/Tickets.pm @@ -2,7 +2,7 @@ # # 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) @@ -92,7 +92,7 @@ sub TestArgs my %args = @_; my $queue; if( $args{'query'} ) { - my $objs = RT::Tickets->new( $RT::SystemUser ); + my $objs = RT::Tickets->new( RT->SystemUser ); $objs->{'allow_deleted_search'} = 1; my ($status, $msg) = $objs->FromSQL( $args{'query'} ); return( 0, "Bad query argument, error: $msg" ) unless $status; @@ -138,7 +138,7 @@ sub GetLinked if ( $self->{'opt'}{'apply_query_to_linked'} ) { $query .= " AND ( ". $self->{'opt'}{'query'} ." )"; } - my $objs = RT::Tickets->new( $RT::SystemUser ); + my $objs = RT::Tickets->new( RT->SystemUser ); $objs->{'allow_deleted_search'} = 1; $objs->FromSQL( $query ); $self->FetchNext( $objs, 1 ); |