Skip to content
Snippets Groups Projects
Unverified Commit 8c6b2833 authored by Seamus Lee's avatar Seamus Lee Committed by GitHub
Browse files

Merge pull request #24692 from eileenmcnaughton/ext_cache

#3814 Use fastArray cache for extension system
parents 91b13b33 eab035f9
No related merge requests found
......@@ -251,7 +251,10 @@ class CRM_Extension_System {
}
/**
* Get the cache object.
*
* @return CRM_Utils_Cache_Interface
* @throws \CRM_Core_Exception
*/
public function getCache() {
if ($this->cache === NULL) {
......@@ -261,6 +264,7 @@ class CRM_Extension_System {
'name' => $cacheGroup,
'type' => ['*memory*', 'SqlGroup', 'ArrayCache'],
'prefetch' => TRUE,
'withArray' => 'fast',
]);
}
return $this->cache;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment