aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormyk%mozilla.org <>2002-03-05 07:38:55 +0000
committermyk%mozilla.org <>2002-03-05 07:38:55 +0000
commitcd081e358a07abf94e730de47c05d5be82d07bfe (patch)
tree5b86b708149476ec235b37d14cac324cf486cde7 /userprefs.cgi
parentFix typo in checkin for bug 107743. (diff)
downloadbugzilla-cd081e358a07abf94e730de47c05d5be82d07bfe.tar.gz
bugzilla-cd081e358a07abf94e730de47c05d5be82d07bfe.tar.bz2
bugzilla-cd081e358a07abf94e730de47c05d5be82d07bfe.zip
Fix for bug 128784: Eliminates redundant function call in userprefs.cgi.
Patch by Myk Melez <myk@mozilla.org> r=gerv x 2
Diffstat (limited to 'userprefs.cgi')
-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'};