mirror of
https://github.com/nextcloud/server.git
synced 2026-04-27 17:18:48 -04:00
Merge pull request #12954 from owncloud/hhvm-apc-clear
HHVM: In APC cache clear, only request the cache key in APCIterator.
This commit is contained in:
commit
157ff1219a
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ class APC extends Cache {
|
|||
public function clear($prefix = '') {
|
||||
$ns = $this->getPrefix() . $prefix;
|
||||
$ns = preg_quote($ns, '/');
|
||||
$iter = new \APCIterator('user', '/^' . $ns . '/');
|
||||
$iter = new \APCIterator('user', '/^' . $ns . '/', APC_ITER_KEY);
|
||||
return apc_delete($iter);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue