diff options
author | myk%mozilla.org <> | 2002-03-05 07:38:55 +0000 |
---|---|---|
committer | myk%mozilla.org <> | 2002-03-05 07:38:55 +0000 |
commit | cd081e358a07abf94e730de47c05d5be82d07bfe (patch) | |
tree | 5b86b708149476ec235b37d14cac324cf486cde7 /userprefs.cgi | |
parent | Fix typo in checkin for bug 107743. (diff) | |
download | bugzilla-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-x | userprefs.cgi | 6 |
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'}; |