From 83f968ace2822a1e56ccb2804e3513d95b528e5a Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 2 Jan 2014 16:12:56 +0100 Subject: Fix APCIterator syntax in \OC\Memcache\APCU::clear see http://www.php.net/manual/en/apciterator.construct.php --- lib/private/memcache/apcu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/memcache/apcu.php b/lib/private/memcache/apcu.php index ccc1aa6e562..dac0f5f208a 100644 --- a/lib/private/memcache/apcu.php +++ b/lib/private/memcache/apcu.php @@ -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); } -- cgit v1.2.3