summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-01-02 16:12:56 +0100
committerRobin Appelman <icewind@owncloud.com>2014-01-02 16:12:56 +0100
commit83f968ace2822a1e56ccb2804e3513d95b528e5a (patch)
treef7baab27a852a66de7294094a24a7c784b02a9a4 /lib
parent14e0b1b6d1b64c2e37bbba0731a8f7b9a338ebb0 (diff)
downloadnextcloud-server-83f968ace2822a1e56ccb2804e3513d95b528e5a.tar.gz
nextcloud-server-83f968ace2822a1e56ccb2804e3513d95b528e5a.zip
Fix APCIterator syntax in \OC\Memcache\APCU::clear
see http://www.php.net/manual/en/apciterator.construct.php
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);
}