X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FCache%2FAPCcache.php;h=74a89c532879891c0fd7b9366a30998258b5ed46;hb=5760fcb6d5e8f36c514c7a00385e8d227212f46f;hp=26fa86b24166bd6321aae2a44dbe0b8c7fd612f6;hpb=8b58a98f17b65d4e5c67f973b66ebb1b4df3615a;p=civicrm-core.git diff --git a/CRM/Utils/Cache/APCcache.php b/CRM/Utils/Cache/APCcache.php index 26fa86b241..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'];