| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
*/
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
*/
protected $_prefix = self::DEFAULT_PREFIX;
/**
- * Constructor
+ * Constructor.
*
* @param array $config
* An array of configuration params.
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);
}
}
}
+
}