From 3d59b2bd807ec35c511fd76df11b2cbb61289242 Mon Sep 17 00:00:00 2001 From: "justdave%syndicomm.com" <> Date: Thu, 18 Mar 2004 11:57:04 +0000 Subject: Bug 192516: Moving the loose .pm files into the Bugzilla directory, where they belong. These files pre-date the Bugzilla directory, and would have gone there had it existed at the time. The four files in question were copied on the CVS server to preserve CVS history in the files. This checkin deletes them from the old location and modifies everything else to know where they are now. r= myk, gerv a= justdave --- process_bug.cgi | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'process_bug.cgi') diff --git a/process_bug.cgi b/process_bug.cgi index d81f866e5..774883a9c 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -35,10 +35,9 @@ use Bugzilla; use Bugzilla::Constants; require "CGI.pl"; -use Bug; +use Bugzilla::Bug; use Bugzilla::User; - -use RelationSet; +use Bugzilla::RelationSet; # Use the Flag module to modify flag data if the user set flags. use Bugzilla::Flag; @@ -330,8 +329,8 @@ my $qacontactid; # CheckCanChangeField() defines what users are allowed to change what bugs. You # can add code here for site-specific policy changes, according to the # instructions given in the Bugzilla Guide and below. Note that you may also -# have to update the Bug::user() function to give people access to the options -# that they are permitted to change. +# have to update the Bugzilla::Bug::user() function to give people access to the +# options that they are permitted to change. # # CheckCanChangeField() should return true if the user is allowed to change this # field, and false if they are not. @@ -1752,7 +1751,7 @@ foreach my $id (@idlist) { # now show the next bug if ($next_bug) { if (detaint_natural($next_bug) && CanSeeBug($next_bug, $::userid)) { - my $bug = new Bug($next_bug, $::userid); + my $bug = new Bugzilla::Bug($next_bug, $::userid); ThrowCodeError("bug_error", { bug => $bug }) if $bug->error; # next.html.tmpl includes edit.html.tmpl, and therefore we -- cgit v1.2.3-24-g4f1b