修复 APCu

This commit is contained in:
Discuz! 2017-02-04 11:47:53 +08:00
parent 0ba78f6b31
commit 3a0abdf043
1 changed files with 26 additions and 30 deletions

View File

@ -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) {