summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormyk%mozilla.org <>2002-03-05 08:38:55 +0100
committermyk%mozilla.org <>2002-03-05 08:38:55 +0100
commitcd081e358a07abf94e730de47c05d5be82d07bfe (patch)
tree5b86b708149476ec235b37d14cac324cf486cde7
parente2ab3af10944f2800a3bc6237cc2b827ec7b016e (diff)
downloadbugzilla-cd081e358a07abf94e730de47c05d5be82d07bfe.tar.gz
bugzilla-cd081e358a07abf94e730de47c05d5be82d07bfe.tar.xz
Fix for bug 128784: Eliminates redundant function call in userprefs.cgi.
Patch by Myk Melez <myk@mozilla.org> r=gerv x 2
-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'};