summaryrefslogtreecommitdiffstats
path: root/system/libraries/Cache/drivers
diff options
context:
space:
mode:
authorIvan Tcholakov <ivantcholakov@gmail.com>2014-08-18 09:19:27 +0200
committerIvan Tcholakov <ivantcholakov@gmail.com>2014-08-18 09:19:27 +0200
commit58531403e7b2a49ba7d723e8792e8656b5172d83 (patch)
tree2510c465d04022faaacbaeeb17b1170a6f8299bb /system/libraries/Cache/drivers
parentc773a484301ba147b6e849114097152518b9d4ee (diff)
Cache_redis, delete() method: Removing code for updating the internal cache, it is useless.
Diffstat (limited to 'system/libraries/Cache/drivers')
-rw-r--r--system/libraries/Cache/drivers/Cache_redis.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/system/libraries/Cache/drivers/Cache_redis.php b/system/libraries/Cache/drivers/Cache_redis.php
index c0200aab7..9fbdc6593 100644
--- a/system/libraries/Cache/drivers/Cache_redis.php
+++ b/system/libraries/Cache/drivers/Cache_redis.php
@@ -139,13 +139,6 @@ class CI_Cache_redis extends CI_Driver
*/
public function delete($key)
{
- if (($index_key = array_search($key, $this->_serialized, TRUE)) !== FALSE)
- {
- unset($this->_serialized[$index_key]);
- }
-
- $this->_redis->sRemove(self::KEY_SET_FOR_SERIALIZATION, $key);
-
return ($this->_redis->delete($key) === 1);
}