mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Making MemcacheEngine match the interface.
This commit is contained in:
parent
b432e60971
commit
5e725e62ca
1 changed files with 1 additions and 1 deletions
2
cake/libs/cache/memcache.php
vendored
2
cake/libs/cache/memcache.php
vendored
|
@ -107,7 +107,7 @@ class MemcacheEngine extends CacheEngine {
|
|||
* @return boolean True if the data was succesfully cached, false on failure
|
||||
* @see http://php.net/manual/en/memcache.set.php
|
||||
*/
|
||||
public function write($key, &$value, $duration) {
|
||||
public function write($key, $value, $duration) {
|
||||
return $this->__Memcache->set($key, $value, $this->settings['compress'], $duration);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue