From 6477ccf87c1b77e01dbc3aec8af1d19249b6ca54 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Wed, 14 Sep 2016 11:36:13 -0400 Subject: Bug 1302755 - Optimize request_cache() more r=jfearn --- Bugzilla/Install/Util.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Bugzilla') 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 # -- cgit v1.2.3-24-g4f1b