Fix constructor arguments for APCUIterator

This commit is contained in:
Robin Appelman 2016-01-18 12:20:05 +01:00
parent e4d5229940
commit a225fe4c96
1 changed files with 1 additions and 1 deletions

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);
}