summaryrefslogtreecommitdiffstats
path: root/Bugzilla.pm
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-05-21 04:00:08 +0200
committerDylan William Hardison <dylan@hardison.net>2018-06-28 22:41:56 +0200
commit889d8ad22855191773dd45e67272650d0c00f502 (patch)
treed1c9beb3b9a6aed4997e0596fc5cf178a56284b4 /Bugzilla.pm
parentf5a81daeeb16c6f64475f3a48b8ea5eb0ec84c9b (diff)
downloadbugzilla-889d8ad22855191773dd45e67272650d0c00f502.tar.gz
bugzilla-889d8ad22855191773dd45e67272650d0c00f502.tar.xz
cool stuff
Diffstat (limited to 'Bugzilla.pm')
-rw-r--r--Bugzilla.pm9
1 files changed, 1 insertions, 8 deletions
diff --git a/Bugzilla.pm b/Bugzilla.pm
index ff588028c..b68586c8d 100644
--- a/Bugzilla.pm
+++ b/Bugzilla.pm
@@ -235,14 +235,7 @@ sub extensions {
}
sub cgi {
- my ( undef, $cgi ) = @_;
-
- if ( defined $cgi ) {
- return request_cache->{cgi} = $cgi;
- }
- else {
- return request_cache->{cgi} ||= Bugzilla::CGI->new;
- }
+ return request_cache->{cgi} ||= Bugzilla::CGI->new;
}
sub input_params {