aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-06-21 07:44:46 +0000
committerlpsolit%gmail.com <>2006-06-21 07:44:46 +0000
commitc41117346f48774e5c6731303702b5ce98db517b (patch)
tree96cd49de1876e195d8df5760a5519563db41ae24 /summarize_time.cgi
parentPatch for bug 342130: don't display a bogus footer anymore when searching for... (diff)
downloadbugzilla-c41117346f48774e5c6731303702b5ce98db517b.tar.gz
bugzilla-c41117346f48774e5c6731303702b5ce98db517b.tar.bz2
bugzilla-c41117346f48774e5c6731303702b5ce98db517b.zip
Bug 282121: Remove globals.pl from scripts that no longer use it - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
Diffstat (limited to 'summarize_time.cgi')
-rwxr-xr-xsummarize_time.cgi7
1 files changed, 4 insertions, 3 deletions
diff --git a/summarize_time.cgi b/summarize_time.cgi
index 388c82dba..d2b939c82 100755
--- a/summarize_time.cgi
+++ b/summarize_time.cgi
@@ -24,11 +24,12 @@ use Date::Parse; # strptime
use Date::Format; # strftime
use Bugzilla;
+use Bugzilla::Constants; # LOGIN_*
+use Bugzilla::Config qw(:DEFAULT);
use Bugzilla::Bug; # EmitDependList
use Bugzilla::Util; # trim
-use Bugzilla::Constants; # LOGIN_*
+use Bugzilla::Error;
use Bugzilla::User; # UserInGroup
-require "globals.pl";
my $template = Bugzilla->template;
my $vars = {};
@@ -360,7 +361,7 @@ sub get_inactive_bugs {
WHERE longdescs.bug_id IN ($buglist)
$date_bits } .
$dbh->sql_group_by('longdescs.bug_id',
- 'bugs.short_desc, bugs.bug_status,
+ 'bugs.short_desc, bugs.bug_status,
longdescs.bug_when') . qq{
ORDER BY longdescs.bug_when};
$sth = $dbh->prepare($q);