X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Flib%2FRT%2FSearch%2FFromSQL.pm;h=dbcad909911622b0244784046007c30996730a25;hp=6f2a874f9f4813c64094de11c3dc01ace388c602;hb=9aee669886202be7035e6c6049fc71bc99dd3013;hpb=b5c4237a34aef94976bc343c8d9e138664fc3984 diff --git a/rt/lib/RT/Search/FromSQL.pm b/rt/lib/RT/Search/FromSQL.pm index 6f2a874f9..dbcad9099 100644 --- a/rt/lib/RT/Search/FromSQL.pm +++ b/rt/lib/RT/Search/FromSQL.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,6 +66,7 @@ Find all tickets described by the SQL statement passed as an argument package RT::Search::FromSQL; use strict; +use warnings; use base qw(RT::Search); =head2 Describe @@ -74,12 +75,10 @@ Returns a localized string describing the module's function. =cut -# {{{ sub Describe sub Describe { my $self = shift; return ($self->loc("TicketSQL search module", ref $self)); } -# }}} =head2 Prepare @@ -89,14 +88,12 @@ is reduced to those tickets matching the SQL query. =cut -# {{{ sub Prepare sub Prepare { my $self = shift; $self->TicketsObj->FromSQL($self->Argument); return(1); } -# }}} RT::Base->_ImportOverlays();