修正redis session驱动destroy方法返回值

This commit is contained in:
thinkphp
2016-11-24 17:52:30 +08:00
parent 9db261e601
commit e1ed00dce0
3 changed files with 8 additions and 2 deletions

View File

@@ -108,11 +108,11 @@ class Redis extends SessionHandler
* 删除Session
* @access public
* @param string $sessID
* @return bool|void
* @return bool
*/
public function destroy($sessID)
{
$this->handler->delete($this->config['session_name'] . $sessID);
return $this->handler->delete($this->config['session_name'] . $sessID);
}
/**