diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-07-15 04:13:29 -0700 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-07-15 04:13:29 -0700 |
commit | ed9e593a9324dffd0d2c0087889e4b6798e25f2f (patch) | |
tree | 744c3bfe72340d8c984b2846f53ca4a787f23d50 /collectstats.pl | |
parent | Bug 455585: Installation docs should recommend using package management inste... (diff) | |
download | bugzilla-ed9e593a9324dffd0d2c0087889e4b6798e25f2f.tar.gz bugzilla-ed9e593a9324dffd0d2c0087889e4b6798e25f2f.tar.bz2 bugzilla-ed9e593a9324dffd0d2c0087889e4b6798e25f2f.zip |
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)
Diffstat (limited to 'collectstats.pl')
-rwxr-xr-x | collectstats.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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); }; |