Merge pull request #21775 from owncloud/apcu-iterator-constructor

Fix constructor arguments for APCUIterator
This commit is contained in:
Thomas Müller 2016-01-20 15:23:01 +01:00
commit 647d8ea5de

View file

@ -60,7 +60,7 @@ class APCu extends Cache implements IMemcache {
if(class_exists('\APCIterator')) {
$iter = new \APCIterator('user', '/^' . $ns . '/', APC_ITER_KEY);
} else {
$iter = new \APCUIterator('user', '/^' . $ns . '/', APC_ITER_KEY);
$iter = new \APCUIterator('/^' . $ns . '/', APC_ITER_KEY);
}
return apcu_delete($iter);
}