Commit cd081e35 authored by myk%mozilla.org's avatar myk%mozilla.org

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

Patch by Myk Melez <myk@mozilla.org> r=gerv x 2
parent e2ab3af1
...@@ -38,9 +38,7 @@ sub sillyness { ...@@ -38,9 +38,7 @@ sub sillyness {
} }
# Use global template variables. # Use global template variables.
use vars qw($template $vars); use vars qw($template $vars $userid);
my $userid;
# The default email flags leave all email on. # The default email flags leave all email on.
my $defaultflagstring = "ExcludeSelf~on~"; my $defaultflagstring = "ExcludeSelf~on~";
...@@ -305,8 +303,6 @@ confirm_login(); ...@@ -305,8 +303,6 @@ confirm_login();
GetVersionTable(); GetVersionTable();
$userid = DBNameToIdAndCheck($::COOKIE{'Bugzilla_login'});
$vars->{'login'} = $::COOKIE{'Bugzilla_login'}; $vars->{'login'} = $::COOKIE{'Bugzilla_login'};
$vars->{'changes_saved'} = $::FORM{'dosave'}; $vars->{'changes_saved'} = $::FORM{'dosave'};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment