diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-01-02 16:12:56 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-01-02 16:12:56 +0100 |
commit | 83f968ace2822a1e56ccb2804e3513d95b528e5a (patch) | |
tree | f7baab27a852a66de7294094a24a7c784b02a9a4 /lib | |
parent | 14e0b1b6d1b64c2e37bbba0731a8f7b9a338ebb0 (diff) | |
download | nextcloud-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.php | 2 |
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); } |