summaryrefslogtreecommitdiffstats
path: root/system/libraries/Cache/drivers
diff options
context:
space:
mode:
authorIvan Tcholakov <ivantcholakov@gmail.com>2014-08-18 10:11:39 +0200
committerIvan Tcholakov <ivantcholakov@gmail.com>2014-08-18 10:11:39 +0200
commitbc417613f3ea8910a48fc0788a1f9c6d05577aa5 (patch)
treea6740646c053c71bc880d4232e1e02484f8cc846 /system/libraries/Cache/drivers
parent7c835578642341a01958961eaa5e36e74ea92deb (diff)
Cache_redis, delete() method: Bringing back a line of code.
Diffstat (limited to 'system/libraries/Cache/drivers')
-rw-r--r--system/libraries/Cache/drivers/Cache_redis.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/system/libraries/Cache/drivers/Cache_redis.php b/system/libraries/Cache/drivers/Cache_redis.php
index 21ef9919d..20378785a 100644
--- a/system/libraries/Cache/drivers/Cache_redis.php
+++ b/system/libraries/Cache/drivers/Cache_redis.php
@@ -134,6 +134,9 @@ class CI_Cache_redis extends CI_Driver
*/
public function delete($key)
{
+ // This is for not leaving garbage keys within the Redis auxilary set.
+ $this->_redis->sRemove('_ci_redis_serialized', $key);
+
return ($this->_redis->delete($key) === 1);
}