修复 getMulti 方式获取缓存无效的问题

This commit is contained in:
Discuz! 2017-02-08 10:41:52 +08:00
parent 98f6cc3a74
commit ffba5153b1
2 changed files with 22 additions and 30 deletions

View File

@ -22,10 +22,6 @@ class memory_driver_apc
return apc_fetch($key);
}
public function getMulti($keys) {
return apc_fetch($keys);
}
public function set($key, $value, $ttl = 0) {
return apc_store($key, $value, $ttl);
}

View File

@ -20,10 +20,6 @@ class memory_driver_apcu {
return apcu_fetch($key);
}
public function getMulti($keys) {
return apcu_fetch($key);
}
public function set($key, $value, $ttl = 0) {
return apcu_store($key, $value, $ttl);
}