summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2004-03-18 12:57:04 +0100
committerjustdave%syndicomm.com <>2004-03-18 12:57:04 +0100
commit3d59b2bd807ec35c511fd76df11b2cbb61289242 (patch)
treef3071da3563a70dd4c88ea0fa5505eef4baf4385 /process_bug.cgi
parent962c6c28c25c354d7b3757f1b3cb3665cbde14b0 (diff)
downloadbugzilla-3d59b2bd807ec35c511fd76df11b2cbb61289242.tar.gz
bugzilla-3d59b2bd807ec35c511fd76df11b2cbb61289242.tar.xz
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
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi11
1 files changed, 5 insertions, 6 deletions
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