projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git.freeside.biz:/home/git/freeside
[freeside.git]
/
rt
/
lib
/
RT
/
Search
/
FromSQL.pm
diff --git
a/rt/lib/RT/Search/FromSQL.pm
b/rt/lib/RT/Search/FromSQL.pm
index
364d7cf
..
dbcad90
100644
(file)
--- a/
rt/lib/RT/Search/FromSQL.pm
+++ b/
rt/lib/RT/Search/FromSQL.pm
@@
-2,7
+2,7
@@
#
# COPYRIGHT:
#
#
# COPYRIGHT:
#
-# This software is Copyright (c) 1996-201
1
Best Practical Solutions, LLC
+# This software is Copyright (c) 1996-201
5
Best Practical Solutions, LLC
# <sales@bestpractical.com>
#
# (Except where explicitly superseded by other copyright notices)
# <sales@bestpractical.com>
#
# (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;
package RT::Search::FromSQL;
use strict;
+use warnings;
use base qw(RT::Search);
=head2 Describe
use base qw(RT::Search);
=head2 Describe
@@
-74,12
+75,10
@@
Returns a localized string describing the module's function.
=cut
=cut
-# {{{ sub Describe
sub Describe {
my $self = shift;
return ($self->loc("TicketSQL search module", ref $self));
}
sub Describe {
my $self = shift;
return ($self->loc("TicketSQL search module", ref $self));
}
-# }}}
=head2 Prepare
=head2 Prepare
@@
-89,18
+88,13
@@
is reduced to those tickets matching the SQL query.
=cut
=cut
-# {{{ sub Prepare
sub Prepare {
my $self = shift;
$self->TicketsObj->FromSQL($self->Argument);
return(1);
}
sub Prepare {
my $self = shift;
$self->TicketsObj->FromSQL($self->Argument);
return(1);
}
-# }}}
-eval "require RT::Search::FromSQL_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Search/FromSQL_Vendor.pm});
-eval "require RT::Search::FromSQL_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Search/FromSQL_Local.pm});
+RT::Base->_ImportOverlays();
1;
1;