Merge pull request #6610 from owncloud/apcu-clear
Fix APCIterator syntax in \OC\Memcache\APCu::clear
This commit is contained in:
commit
f016a3ead3
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ class APCu extends APC {
|
|||
public function clear($prefix = '') {
|
||||
$ns = $this->getNamespace() . $prefix;
|
||||
$ns = preg_quote($ns, '/');
|
||||
$iter = new \APCIterator('/^'.$ns.'/');
|
||||
$iter = new \APCIterator('user', '/^'.$ns.'/');
|
||||
return apc_delete($iter);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue