summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authoricewind1991 <robin@icewind.nl>2014-01-03 05:30:49 -0800
committericewind1991 <robin@icewind.nl>2014-01-03 05:30:49 -0800
commitf016a3ead30cd40295f624c7e52bb54fd2ef7479 (patch)
tree040b8b984a06a791c94ac21a8d335ce665bb275e /lib
parent1ce45713bd5e4928b2df1e1c88b8ca1dc98f1551 (diff)
parent83f968ace2822a1e56ccb2804e3513d95b528e5a (diff)
downloadnextcloud-server-f016a3ead30cd40295f624c7e52bb54fd2ef7479.tar.gz
nextcloud-server-f016a3ead30cd40295f624c7e52bb54fd2ef7479.zip
Merge pull request #6610 from owncloud/apcu-clear
Fix APCIterator syntax in \OC\Memcache\APCu::clear
Diffstat (limited to 'lib')
-rw-r--r--lib/private/memcache/apcu.php2
1 files changed, 1 insertions, 1 deletions
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);
}