diff options
author | lpsolit%gmail.com <> | 2005-08-15 01:46:04 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-08-15 01:46:04 +0200 |
commit | 2b5c15916a85aef50814a96c0112d9b2ba910b3e (patch) | |
tree | 941fde905f6289b0ef54cdbc8c506fbab1b2c489 /Bugzilla | |
parent | 3f7f64ada2722579bea1b437576f7dd6f1b6788e (diff) | |
download | bugzilla-2b5c15916a85aef50814a96c0112d9b2ba910b3e.tar.gz bugzilla-2b5c15916a85aef50814a96c0112d9b2ba910b3e.tar.xz |
Bug 304588: Remove 'use Bugzilla::User' from DB.pm - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/DB.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Bugzilla/DB.pm b/Bugzilla/DB.pm index 67cf4ae9c..6ec377cd7 100644 --- a/Bugzilla/DB.pm +++ b/Bugzilla/DB.pm @@ -50,7 +50,6 @@ use Bugzilla::Config qw(:DEFAULT :db); use Bugzilla::Util; use Bugzilla::Error; use Bugzilla::DB::Schema; -use Bugzilla::User; ##################################################################### # Constants @@ -299,7 +298,7 @@ sub bz_get_field_defs { my ($self) = @_; my $extra = ""; - if (!UserInGroup(Param('timetrackinggroup'))) { + if (!Bugzilla->user->in_group(Param('timetrackinggroup'))) { $extra = "AND name NOT IN ('estimated_time', 'remaining_time', " . "'work_time', 'percentage_complete', 'deadline')"; } |