diff options
author | Dylan William Hardison <dylan@hardison.net> | 2016-11-23 17:41:44 +0100 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2016-12-01 16:18:58 +0100 |
commit | 1e762fa5d00732bfdfb51fd8b3e56879f17d8f6e (patch) | |
tree | c424a293d0e1df8c41c977f48e8bd94d05a0fb86 /Bugzilla/Install | |
parent | 78eac2241f5b7e701b2c7b62a0ec0b8272495cca (diff) | |
download | bugzilla-1e762fa5d00732bfdfb51fd8b3e56879f17d8f6e.tar.gz bugzilla-1e762fa5d00732bfdfb51fd8b3e56879f17d8f6e.tar.xz |
Bug 1319503 - Backport request_cache optimizations from upstream
Diffstat (limited to 'Bugzilla/Install')
-rw-r--r-- | Bugzilla/Install/Util.pm | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/Bugzilla/Install/Util.pm b/Bugzilla/Install/Util.pm index 231ef8efc..c65c0e061 100644 --- a/Bugzilla/Install/Util.pm +++ b/Bugzilla/Install/Util.pm @@ -699,15 +699,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. -our $_cache = {}; -sub _cache { - # If the normal request_cache is available (which happens any time - # after the requirements phase) then we should use that. - if (eval { Bugzilla->request_cache; }) { - return Bugzilla->request_cache; - } - return $_cache; -} +use constant _cache => {}; ############################### # Copied from Bugzilla::Util # |