Skip to content
Permalink
Browse files

Making MemcacheEngine match the interface.

  • Loading branch information...
markstory committed Sep 18, 2010
1 parent b432e60 commit 5e725e62ca89f10813662fc1f01395c3a052bb9b
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/libs/cache/memcache.php
@@ -107,7 +107,7 @@ public function init($settings = array()) {
* @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);
}

0 comments on commit 5e725e6

Please sign in to comment.
You can’t perform that action at this time.