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) --- collectstats.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'collectstats.pl') diff --git a/collectstats.pl b/collectstats.pl index af055ab32..f090ba5fc 100755 --- a/collectstats.pl +++ b/collectstats.pl @@ -512,7 +512,7 @@ sub CollectSeriesData { my $search = new Bugzilla::Search('params' => $cgi, 'fields' => ["bug_id"], 'user' => $user); - my $sql = $search->getSQL(); + my $sql = $search->sql; $data = $shadow_dbh->selectall_arrayref($sql); }; -- cgit v1.2.3-24-g4f1b