Skip to content

Commit

Permalink
Making MemcacheEngine match the interface.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Sep 18, 2010
1 parent b432e60 commit 5e725e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/libs/cache/memcache.php
Expand Up @@ -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);
}

Expand Down

0 comments on commit 5e725e6

Please sign in to comment.