From fe43c2dcdfc844fce2c699887cf1ddae53c24b4b Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 9 Sep 2005 06:40:08 +0000 Subject: Bug 256135: Parameter 'movers' is handled differently in Bug.pm and buglist.cgi - Patch by Frédéric Buclin r/a=myk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buglist.cgi | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'buglist.cgi') diff --git a/buglist.cgi b/buglist.cgi index b6d95c994..1e4ab0cb5 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -945,18 +945,8 @@ $vars->{'urlquerypart'} = $params->canonicalise_query('order', 'cmdtype', 'query_based_on'); $vars->{'order'} = $order; - -# The user's login account name (i.e. email address). -my $login = Bugzilla->user->login; - $vars->{'caneditbugs'} = UserInGroup('editbugs'); -# Whether or not this user is authorized to move bugs to another installation. -$vars->{'ismover'} = 1 - if Param('move-enabled') - && defined($login) - && Param('movers') =~ /^(\Q$login\E[,\s])|([,\s]\Q$login\E[,\s]+)/; - my @bugowners = keys %$bugowners; if (scalar(@bugowners) > 1 && UserInGroup('editbugs')) { my $suffix = Param('emailsuffix'); -- cgit v1.2.3-24-g4f1b