修复 APCu
This commit is contained in:
parent
0ba78f6b31
commit
3a0abdf043
|
@ -21,11 +21,7 @@ class memory_driver_apcu {
|
|||
}
|
||||
|
||||
public function getMulti($keys) {
|
||||
$result = array();
|
||||
foreach($keys as $key) {
|
||||
$result[$key] = apcu_fetch($key);
|
||||
}
|
||||
return $result;
|
||||
return apcu_fetch($key);
|
||||
}
|
||||
|
||||
public function set($key, $value, $ttl = 0) {
|
||||
|
|
Loading…
Reference in New Issue