diff options
author | Tim Nolte <noltet@sekisui-spi.com> | 2015-06-08 18:25:34 +0200 |
---|---|---|
committer | Tim Nolte <noltet@sekisui-spi.com> | 2015-06-08 18:25:34 +0200 |
commit | 89ed9fafd75e3b65a7691f1b13440bdedadf5eda (patch) | |
tree | 5dfa69c55ff48502527fcb6f4f532fb5ad6651ca /system/libraries/Cache/drivers | |
parent | 2ac4177b4b6afc63d594523416c3991d23dddf20 (diff) | |
parent | b76394834a3e36e8c376913cd9666a8d7a4cea45 (diff) |
Merge branch 'develop' into feature/mysqli-ssl
Diffstat (limited to 'system/libraries/Cache/drivers')
-rw-r--r-- | system/libraries/Cache/drivers/Cache_redis.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/system/libraries/Cache/drivers/Cache_redis.php b/system/libraries/Cache/drivers/Cache_redis.php index b940b76cb..66966ba16 100644 --- a/system/libraries/Cache/drivers/Cache_redis.php +++ b/system/libraries/Cache/drivers/Cache_redis.php @@ -125,9 +125,7 @@ class CI_Cache_redis extends CI_Driver $this->_redis->sRemove('_ci_redis_serialized', $id); } - return ($ttl) - ? $this->_redis->setex($id, $ttl, $data) - : $this->_redis->set($id, $data); + return $this->_redis->set($id, $data, $ttl); } // ------------------------------------------------------------------------ |