diff options
author | Greg Aker <greg@gregaker.net> | 2011-08-21 22:47:30 +0200 |
---|---|---|
committer | Greg Aker <greg@gregaker.net> | 2011-08-21 22:47:30 +0200 |
commit | b47af4423cea88ff3fef199e1871d7b9c0f3b0d3 (patch) | |
tree | d0e78dcf232fa4c11f56e720cf7021d8285a37d1 /system/libraries/Cache/drivers | |
parent | f45ea72f1105f3e30002d60c2cf8db8c11b9a9f1 (diff) | |
parent | 284dd9756b8c03059d13e460190d2385ba599a91 (diff) |
Merge branch 'develop' into feature/unit-tests
Diffstat (limited to 'system/libraries/Cache/drivers')
-rw-r--r-- | system/libraries/Cache/drivers/Cache_memcached.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Cache/drivers/Cache_memcached.php b/system/libraries/Cache/drivers/Cache_memcached.php index ae9d6cd96..04aa81a5a 100644 --- a/system/libraries/Cache/drivers/Cache_memcached.php +++ b/system/libraries/Cache/drivers/Cache_memcached.php @@ -64,7 +64,7 @@ class CI_Cache_memcached extends CI_Driver { */ public function save($id, $data, $ttl = 60) { - return $this->_memcached->add($id, array($data, time(), $ttl), $ttl); + return $this->_memcached->set($id, array($data, time(), $ttl), $ttl); } // ------------------------------------------------------------------------ |