Fix constructor arguments for APCUIterator
This commit is contained in:
parent
e4d5229940
commit
a225fe4c96
|
@ -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 New Issue