summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xuserprefs.cgi6
1 files changed, 1 insertions, 5 deletions
diff --git a/userprefs.cgi b/userprefs.cgi
index 301b90b1e..be8adb348 100755
--- a/userprefs.cgi
+++ b/userprefs.cgi
@@ -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'};