diff options
author | bbaetz%acm.org <> | 2003-06-03 16:47:37 +0000 |
---|---|---|
committer | bbaetz%acm.org <> | 2003-06-03 16:47:37 +0000 |
commit | 1d057f02b277d29ad4d232d598c49b0344798b40 (patch) | |
tree | 5dd73500b1cf10b51875179f7559c8ec97f0b5be /sidebar.cgi | |
parent | last not break (diff) | |
download | bugzilla-1d057f02b277d29ad4d232d598c49b0344798b40.tar.gz bugzilla-1d057f02b277d29ad4d232d598c49b0344798b40.tar.bz2 bugzilla-1d057f02b277d29ad4d232d598c49b0344798b40.zip |
Bug 180635 - Enhance Bugzilla::User to store additional information
r=myk,jake
Diffstat (limited to 'sidebar.cgi')
-rwxr-xr-x | sidebar.cgi | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/sidebar.cgi b/sidebar.cgi index 83c89c29c..cf801eba3 100755 --- a/sidebar.cgi +++ b/sidebar.cgi @@ -35,26 +35,6 @@ my $cgi = Bugzilla->cgi; # Main Body Execution ############################################################################### -$vars->{'username'} = $::COOKIE{'Bugzilla_login'} || ''; - -if (defined $::COOKIE{'Bugzilla_login'}) { - SendSQL("SELECT mybugslink, userid FROM profiles " . - "WHERE login_name = " . SqlQuote($::COOKIE{'Bugzilla_login'})); - my ($mybugslink, $userid) = (FetchSQLData()); - $vars->{'userid'} = $userid; - $vars->{'canblessanything'} = UserCanBlessAnything(); - if ($mybugslink) { - my $mybugstemplate = Param("mybugstemplate"); - my %substs = ( 'userid' => url_quote($::COOKIE{'Bugzilla_login'}) ); - $vars->{'mybugsurl'} = PerformSubsts($mybugstemplate, \%substs); - } - SendSQL("SELECT name FROM namedqueries WHERE userid = $userid AND linkinfooter"); - while (MoreSQLData()) { - my ($name) = FetchSQLData(); - push(@{$vars->{'namedqueries'}}, $name); - } -} - # This sidebar is currently for use with Mozilla based web browsers. # Internet Explorer 6 is supposed to have a similar feature, but it # most likely won't support XUL ;) When that does come out, this |