Merge pull request #21775 from owncloud/apcu-iterator-constructor
Fix constructor arguments for APCUIterator
This commit is contained in:
commit
647d8ea5de
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue