X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FCache%2FAPCcache.php;h=74a89c532879891c0fd7b9366a30998258b5ed46;hb=bd4c91fa63ea1884bcb352aa2a27952f2a0862df;hp=e18c06121f99e725e3d5092f0b564cb261c265ff;hpb=6a1ebc3a89760e41adc7d414494f588ab7bd31f3;p=civicrm-core.git diff --git a/CRM/Utils/Cache/APCcache.php b/CRM/Utils/Cache/APCcache.php index e18c06121f..74a89c5328 100644 --- a/CRM/Utils/Cache/APCcache.php +++ b/CRM/Utils/Cache/APCcache.php @@ -1,39 +1,25 @@ _prefix; // Our keys follows this pattern: ([A-Za-z0-9_]+)?CRM_[A-Za-z0-9_]+ - $lp = strlen($prefix); // Get prefix length + // Our keys follows this pattern: ([A-Za-z0-9_]+)?CRM_[A-Za-z0-9_]+ + $prefix = $this->_prefix; + // Get prefix length + $lp = strlen($prefix); foreach ($keys as $key) { $name = $key['info'];