aboutsummaryrefslogtreecommitdiffstats
path: root/show_bug.cgi
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-05-12 09:40:56 +0000
committermkanat%bugzilla.org <>2006-05-12 09:40:56 +0000
commitd9cbb0f0a62bba345ed26ac68364bb441f41d35d (patch)
tree415d30523fb728a3192970a6d2b168b095f260dc /show_bug.cgi
parentd7447bf95827d7e9da681d496a192fffbc2810a4 (diff)
downloadbugs-d9cbb0f0a62bba345ed26ac68364bb441f41d35d.tar
bugs-d9cbb0f0a62bba345ed26ac68364bb441f41d35d.tar.gz
bugs-d9cbb0f0a62bba345ed26ac68364bb441f41d35d.tar.bz2
bugs-d9cbb0f0a62bba345ed26ac68364bb441f41d35d.tar.xz
bugs-d9cbb0f0a62bba345ed26ac68364bb441f41d35d.zip
Bug 300410: Bugzilla::Auth needs to be restructured to not require a BEGIN block
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=myk
Diffstat (limited to 'show_bug.cgi')
-rwxr-xr-xshow_bug.cgi6
1 files changed, 1 insertions, 5 deletions
diff --git a/show_bug.cgi b/show_bug.cgi
index 7f846efea..36e325057 100755
--- a/show_bug.cgi
+++ b/show_bug.cgi
@@ -37,11 +37,7 @@ my $cgi = Bugzilla->cgi;
my $template = Bugzilla->template;
my $vars = {};
-if ($cgi->param('GoAheadAndLogIn')) {
- Bugzilla->login(LOGIN_REQUIRED);
-} else {
- Bugzilla->login();
-}
+Bugzilla->login();
# Editable, 'single' HTML bugs are treated slightly specially in a few places
my $single = !$cgi->param('format')