summaryrefslogtreecommitdiffstats
path: root/sidebar.cgi
diff options
context:
space:
mode:
authorbbaetz%acm.org <>2003-06-03 18:47:37 +0200
committerbbaetz%acm.org <>2003-06-03 18:47:37 +0200
commit1d057f02b277d29ad4d232d598c49b0344798b40 (patch)
tree5dd73500b1cf10b51875179f7559c8ec97f0b5be /sidebar.cgi
parent3a843833f4ab5d07f10e199daa7ec317e03b9959 (diff)
downloadbugzilla-1d057f02b277d29ad4d232d598c49b0344798b40.tar.gz
bugzilla-1d057f02b277d29ad4d232d598c49b0344798b40.tar.xz
Bug 180635 - Enhance Bugzilla::User to store additional information
r=myk,jake
Diffstat (limited to 'sidebar.cgi')
-rwxr-xr-xsidebar.cgi20
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