[Pkg-owncloud-commits] [owncloud] 39/104: Fix APCIterator syntax in \OC\Memcache\APCU::clear
David Prévot
taffit at moszumanska.debian.org
Sat Jan 18 13:33:38 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 956a4419d8cbe14326ec42fef1e203ca11b170a5
Author: Robin Appelman <icewind at owncloud.com>
Date: Thu Jan 2 16:12:56 2014 +0100
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 ccc1aa6..dac0f5f 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);
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list