Skip to content
Snippets Groups Projects
Commit 83f968ac authored by Robin Appelman's avatar Robin Appelman
Browse files

Fix APCIterator syntax in \OC\Memcache\APCU::clear

parent 14e0b1b6
Branches
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment