diff options
author | travis%sedsystems.ca <> | 2005-03-16 07:10:13 +0100 |
---|---|---|
committer | travis%sedsystems.ca <> | 2005-03-16 07:10:13 +0100 |
commit | e490b45d57aee2aacd171a4a9b586111a8c88f53 (patch) | |
tree | b54185c9f669cd2b309f727ecb21e178968866ff /Bugzilla/Template.pm | |
parent | 235eaf8436a7cb2f693c3fb8bc5d042c652c1c5f (diff) | |
download | bugzilla-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.pm | 3 |
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 { |