Fix for bug 128784: Eliminates redundant function call in userprefs.cgi.

Patch by Myk Melez <myk@mozilla.org>
r=gerv x 2


git-svn-id: svn://10.0.0.236/trunk@115759 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
myk%mozilla.org 2002-03-04 23:38:55 +00:00
parent e4202d7a3e
commit 509c6a36ee

View File

@ -38,9 +38,7 @@ sub sillyness {
}
# Use global template variables.
use vars qw($template $vars);
my $userid;
use vars qw($template $vars $userid);
# The default email flags leave all email on.
my $defaultflagstring = "ExcludeSelf~on~";
@ -305,8 +303,6 @@ confirm_login();
GetVersionTable();
$userid = DBNameToIdAndCheck($::COOKIE{'Bugzilla_login'});
$vars->{'login'} = $::COOKIE{'Bugzilla_login'};
$vars->{'changes_saved'} = $::FORM{'dosave'};