summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Template.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/Template.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/Template.pm')
-rw-r--r--Bugzilla/Template.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm
index aea32a2b3..3e37ed5e7 100644
--- a/Bugzilla/Template.pm
+++ b/Bugzilla/Template.pm
@@ -32,6 +32,7 @@ use strict;
use Bugzilla::Config qw(:DEFAULT $templatedir $datadir);
use Bugzilla::Util;
+use Bugzilla::User;
# for time2str - replace by TT Date plugin??
use Date::Format ();
@@ -406,7 +407,7 @@ sub create {
'user' => sub { return Bugzilla->user; },
# UserInGroup. Deprecated - use the user.* functions instead
- 'UserInGroup' => \&::UserInGroup,
+ 'UserInGroup' => \&Bugzilla::User::UserInGroup,
# SendBugMail - sends mail about a bug, using Bugzilla::BugMail.pm
'SendBugMail' => sub {