summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Attachment.pm
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-03-16 07:10:13 +0100
committertravis%sedsystems.ca <>2005-03-16 07:10:13 +0100
commite490b45d57aee2aacd171a4a9b586111a8c88f53 (patch)
treeb54185c9f669cd2b309f727ecb21e178968866ff /Bugzilla/Attachment.pm
parent235eaf8436a7cb2f693c3fb8bc5d042c652c1c5f (diff)
downloadbugzilla-e490b45d57aee2aacd171a4a9b586111a8c88f53.tar.gz
bugzilla-e490b45d57aee2aacd171a4a9b586111a8c88f53.tar.xz
Bug 283581 : Move UserInGroup out of globals.pl
Patch by Colin Ogilvie <colin.ogilvie@gmail.com> r=mkanat a=justdave
Diffstat (limited to 'Bugzilla/Attachment.pm')
-rw-r--r--Bugzilla/Attachment.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/Attachment.pm b/Bugzilla/Attachment.pm
index 8be92dcf2..1a1246d86 100644
--- a/Bugzilla/Attachment.pm
+++ b/Bugzilla/Attachment.pm
@@ -34,6 +34,7 @@ package Bugzilla::Attachment;
# Use the Flag module to handle flags.
use Bugzilla::Flag;
use Bugzilla::Config qw(:locations);
+use Bugzilla::User;
############################################################################
# Functions
@@ -69,7 +70,7 @@ sub query
my $dbh = Bugzilla->dbh;
- my $in_editbugs = &::UserInGroup("editbugs");
+ my $in_editbugs = UserInGroup("editbugs");
&::SendSQL("SELECT product_id
FROM bugs
WHERE bug_id = $bugid");