summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2016-03-11 10:11:53 +0100
committerAndrey Andreev <narf@devilix.net>2016-03-11 10:11:53 +0100
commitf56068bfd34e3ebc1325b049bf33901d855c7321 (patch)
treef7aabae7f30e8755201935424e7fe8679f6f9e20
parent7bdd4950da2226859b00042ce9e8b2b9797129a7 (diff)
Revert an unintended change from a027a7fd0d770cec0d71e888d8b6f4aa1568ce9f
-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 cc242dd3d..e4e09fe0d 100644
--- a/system/libraries/Session/drivers/Session_redis_driver.php
+++ b/system/libraries/Session/drivers/Session_redis_driver.php
@@ -255,7 +255,7 @@ class CI_Session_redis_driver extends CI_Session_driver implements SessionHandle
if ($this->_redis->ping() === '+PONG')
{
$this->_release_lock();
- if ($this->_redis->close() === $this->_fail())
+ if ($this->_redis->close() === $this->_failure)
{
return $this->_fail();
}