From dd4cbd7e3d437a87cd14faa02c99bfc7e9bcd8ad Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Fri, 7 Feb 2003 16:26:49 +0000 Subject: Bug 191020 - back out bits of generic charting checked in by mistake. Apologies. --- buglist.cgi | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/buglist.cgi b/buglist.cgi index 0ce292337..33a32f824 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -172,18 +172,6 @@ sub LookupNamedQuery { return $result; } -sub LookupSeries { - my ($series_id) = @_; - detaint_natural($series_id) || ThrowCodeError("invalid_series_id"); - - my $dbh = Bugzilla->instance->dbh; - my $result = $dbh->selectrow_array("SELECT query FROM series " . - "WHERE series_id = $series_id"); - $result - || ThrowCodeError("invalid_series_id", {'series_id' => $series_id}); - return $result; -} - sub GetQuip { my $quip; @@ -267,12 +255,6 @@ if ($::FORM{'cmdtype'} eq "dorem") { $params = new Bugzilla::CGI($::buffer); $order = $params->param('order') || $order; } - elsif ($::FORM{'remaction'} eq "runseries") { - $::buffer = LookupSeries($::FORM{"series_id"}); - $vars->{'title'} = "Bug List: $::FORM{'namedcmd'}"; - $params = new Bugzilla::CGI($::buffer); - $order = $params->param('order') || $order; - } elsif ($::FORM{'remaction'} eq "load") { my $url = "query.cgi?" . LookupNamedQuery($::FORM{"namedcmd"}); print "Refresh: 0; URL=$url\n"; -- cgit v1.2.3-24-g4f1b