summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2016-09-14 17:36:13 +0200
committerDylan William Hardison <dylan@hardison.net>2016-09-19 17:25:16 +0200
commit6477ccf87c1b77e01dbc3aec8af1d19249b6ca54 (patch)
tree8a07e12fe094ec6bc93fb6decd00b483b254dcea /Bugzilla
parentd10a58f32bb8ebbcd7016e1b8b0072839e70966f (diff)
downloadbugzilla-6477ccf87c1b77e01dbc3aec8af1d19249b6ca54.tar.gz
bugzilla-6477ccf87c1b77e01dbc3aec8af1d19249b6ca54.tar.xz
Bug 1302755 - Optimize request_cache() more
r=jfearn
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Install/Util.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/Bugzilla/Install/Util.pm b/Bugzilla/Install/Util.pm
index f85378b47..fe5776175 100644
--- a/Bugzilla/Install/Util.pm
+++ b/Bugzilla/Install/Util.pm
@@ -657,8 +657,7 @@ sub prevent_windows_dialog_boxes {
# This is like request_cache, but it's used only by installation code
# for checksetup.pl and things like that.
-my $_cache = {};
-sub _cache { return $_cache; }
+use constant _cache => {};
###############################
# Copied from Bugzilla::Util #