From ed9e593a9324dffd0d2c0087889e4b6798e25f2f Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Thu, 15 Jul 2010 04:13:29 -0700 Subject: Bug 577800: Finish the cleanup of Search.pm's "init" function by removing it and having its work be done by a new "sql" accessor instead. Also adds some comments, moves functions around into sections, and creates a new _user accessor. r=mkanat, a=mkanat (module owner) --- whine.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'whine.pl') diff --git a/whine.pl b/whine.pl index 1f22b65fc..789cea79e 100755 --- a/whine.pl +++ b/whine.pl @@ -449,7 +449,7 @@ sub run_queries { 'params' => $searchparams, 'user' => $args->{'recipient'}, # the search runs as the recipient ); - my $sqlquery = $search->getSQL(); + my $sqlquery = $search->sql; $sth = $dbh->prepare($sqlquery); $sth->execute; -- cgit v1.2.3-24-g4f1b