[Rt-commit] [rtir] 01/01: Change calls to Search::Googleish to Search::Simple
Jim Brandt
jbrandt at bestpractical.com
Tue Mar 4 13:38:49 EST 2014
This is an automated email from the git hooks/post-receive script.
jbrandt pushed a commit to branch 3.2/googleish-to-simple
in repository rtir.
commit db9950c12e47e641bd16d7eeabf3083221362e50
Author: Jim Brandt <jbrandt at bestpractical.com>
Date: Tue Mar 4 11:54:13 2014 -0500
Change calls to Search::Googleish to Search::Simple
RT::Search::Googleish was renamed to Simple in RT 4.2.
---
lib/RT/IR.pm | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/lib/RT/IR.pm b/lib/RT/IR.pm
index 34f8855..f589f77 100644
--- a/lib/RT/IR.pm
+++ b/lib/RT/IR.pm
@@ -271,12 +271,12 @@ sub ParseSimpleSearch {
my $self = shift;
my %args = @_;
- local @RT::Search::Googleish::GUESS = (
- @RT::Search::Googleish::GUESS,
+ local @RT::Search::Simple::GUESS = (
+ @RT::Search::Simple::GUESS,
@SIMPLE_SEARCH_GUESS,
);
- my $search = RT::Search::Googleish->new(
+ my $search = RT::Search::Simple->new(
Argument => $args{'Query'},
TicketsObj => RT::Tickets->new( $args{'CurrentUser'} ),
);
@@ -808,8 +808,8 @@ if ( RT::IR->HasConstituency ) {
};
}
-require RT::Search::Googleish;
-package RT::Search::Googleish;
+require RT::Search::Simple;
+package RT::Search::Simple;
sub HandleRtirip {
return 'RTIR IP' => RT::IR->Query(
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the rt-commit
mailing list