X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FCache%2FAPCcache.php;h=0a10a48b6dd5b1a7740095de7898e46838add7d4;hb=d5b9585b3da73a76dada27cfa2f791c6c4763cd5;hp=16e6b34139cc0edb1fb6aca150b62edf9226ca25;hpb=e72924229165e83a3c39896c2e3d22ca1dbd7300;p=civicrm-core.git diff --git a/CRM/Utils/Cache/APCcache.php b/CRM/Utils/Cache/APCcache.php index 16e6b34139..0a10a48b6d 100644 --- a/CRM/Utils/Cache/APCcache.php +++ b/CRM/Utils/Cache/APCcache.php @@ -23,7 +23,7 @@ | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ -*/ + */ /** * @@ -34,10 +34,10 @@ */ class CRM_Utils_Cache_APCcache { const DEFAULT_TIMEOUT = 3600; - const DEFAULT_PREFIX = ''; + const DEFAULT_PREFIX = ''; /** - * The default timeout to use + * The default timeout to use. * * @var int */ @@ -55,7 +55,7 @@ class CRM_Utils_Cache_APCcache { protected $_prefix = self::DEFAULT_PREFIX; /** - * Constructor + * Constructor. * * @param array $config * An array of configuration params. @@ -110,9 +110,11 @@ class CRM_Utils_Cache_APCcache { foreach ($keys as $key) { $name = $key['info']; - if ($prefix == substr($name, 0, $lp)) { // Ours? + if ($prefix == substr($name, 0, $lp)) { + // Ours? apc_delete($this->_prefix . $name); } } } + }