summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authortianhe1986 <w1s2j3229@163.com>2018-01-12 10:26:30 +0100
committertianhe1986 <w1s2j3229@163.com>2018-01-12 10:26:30 +0100
commit22b35fac103891034388d60f77ddd43ad94b535a (patch)
treeac55bda9109c3c525409322c944caadf4ea42aee /system
parentb862664f2ce2d20382b9af5bfa4dd036f5755409 (diff)
Returning true when replace() succeed.
Signed-off-by: tianhe1986 <w1s2j3229@163.com>
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Session/drivers/Session_memcached_driver.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/libraries/Session/drivers/Session_memcached_driver.php b/system/libraries/Session/drivers/Session_memcached_driver.php
index edabff52c..b109738c2 100644
--- a/system/libraries/Session/drivers/Session_memcached_driver.php
+++ b/system/libraries/Session/drivers/Session_memcached_driver.php
@@ -313,6 +313,8 @@ class CI_Session_memcached_driver extends CI_Session_driver implements SessionHa
? $this->_memcached->add($this->_lock_key, time(), 300)
: FALSE;
}
+
+ return TRUE;
}
// 30 attempts to obtain a lock, in case another request already has it