summaryrefslogtreecommitdiffstats
path: root/system/libraries/Session
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2016-03-04 14:19:43 +0100
committerAndrey Andreev <narf@devilix.net>2016-03-04 14:19:43 +0100
commita0de5a1954ded76ed0bfa9718a332b1578fabdab (patch)
tree8c16aedf6d6d9a605a94d2f601295dc6ebe7a4af /system/libraries/Session
parente3af21d31a828c195b8bfa4b1aec9ecd052b53ce (diff)
parent8f06abf0e533a04663a7a11bbc60bee3ffb24f0a (diff)
Merge branch 'develop' of github.com:bcit-ci/CodeIgniter into develop
Diffstat (limited to 'system/libraries/Session')
-rw-r--r--system/libraries/Session/drivers/Session_redis_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Session/drivers/Session_redis_driver.php b/system/libraries/Session/drivers/Session_redis_driver.php
index dc4328644..c0c20a7ca 100644
--- a/system/libraries/Session/drivers/Session_redis_driver.php
+++ b/system/libraries/Session/drivers/Session_redis_driver.php
@@ -277,7 +277,7 @@ class CI_Session_redis_driver extends CI_Session_driver implements SessionHandle
try {
if ($this->_redis->ping() === '+PONG')
{
- isset($this->_lock_key) && $this->_redis->delete($this->_lock_key);
+ $this->_release_lock();
if ($this->_redis->close() === $this->_failure)
{
return $this->_failure;