X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Flib%2FRT%2FSearch%2FActiveTicketsInQueue.pm;h=8cb6d33f7ab4e5eee48e1955342dbac431352ac7;hb=0c76afbb717e1716e6126bc4a120b8d9471614a0;hp=cc7103c55b349a2387daa4a2c8375cc5179f6ea3;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c;p=freeside.git diff --git a/rt/lib/RT/Search/ActiveTicketsInQueue.pm b/rt/lib/RT/Search/ActiveTicketsInQueue.pm index cc7103c55..8cb6d33f7 100644 --- a/rt/lib/RT/Search/ActiveTicketsInQueue.pm +++ b/rt/lib/RT/Search/ActiveTicketsInQueue.pm @@ -2,7 +2,7 @@ # # COPYRIGHT: # -# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC # # # (Except where explicitly superseded by other copyright notices) @@ -66,17 +66,15 @@ Find all active tickets in the queue named in the argument passed in package RT::Search::ActiveTicketsInQueue; use strict; +use warnings; use base qw(RT::Search); -# {{{ sub Describe sub Describe { my $self = shift; return ($self->loc("No description for [_1]", ref $self)); } -# }}} -# {{{ sub Prepare sub Prepare { my $self = shift; @@ -88,11 +86,7 @@ sub Prepare { return(1); } -# }}} -eval "require RT::Search::ActiveTicketsInQueue_Vendor"; -die $@ if ($@ && $@ !~ qr{^Can't locate RT/Search/ActiveTicketsInQueue_Vendor.pm}); -eval "require RT::Search::ActiveTicketsInQueue_Local"; -die $@ if ($@ && $@ !~ qr{^Can't locate RT/Search/ActiveTicketsInQueue_Local.pm}); +RT::Base->_ImportOverlays(); 1;