Skip to content

Commit b70508a

Browse files
Merge pull request #35 from jonashrem/patch-1
replace "DEL" Commands with "UNLINK"
2 parents dcb082c + 0396887 commit b70508a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Cm/RedisSession/Handler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ public function destroy($sessionId)
682682
$this->_log(sprintf("Destroying ID %s", $sessionId));
683683
$this->_redis->pipeline();
684684
if($this->_dbNum) $this->_redis->select($this->_dbNum);
685-
$this->_redis->del(self::SESSION_PREFIX.$sessionId);
685+
$this->_redis->unlink(self::SESSION_PREFIX.$sessionId);
686686
$this->_redis->exec();
687687
return true;
688688
}

0 commit comments

Comments
 (0)