From 3856695904e7cbb2037d2929e2678792824f37fe Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" Date: Sun, 14 Aug 2005 16:46:04 +0000 Subject: [PATCH] =?UTF-8?q?Bug=20304588:=20Remove=20'use=20Bugzilla::User'?= =?UTF-8?q?=20from=20DB.pm=20-=20Patch=20by=20Fr=C3=A9d=C3=A9ric=20Buclin?= =?UTF-8?q?=20=20r=3Dmkanat=20a=3Djustdave?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://10.0.0.236/trunk@177732 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/Bugzilla/DB.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mozilla/webtools/bugzilla/Bugzilla/DB.pm b/mozilla/webtools/bugzilla/Bugzilla/DB.pm index 67cf4ae9c88..6ec377cd707 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/DB.pm +++ b/mozilla/webtools/bugzilla/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')"; }