Skip to content

Commit

Permalink
Merge pull request #35 from jonashrem/patch-1
Browse files Browse the repository at this point in the history
replace "DEL" Commands with "UNLINK"
  • Loading branch information
colinmollenhour authored Jun 20, 2022
2 parents dcb082c + 0396887 commit b70508a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cm/RedisSession/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ public function destroy($sessionId)
$this->_log(sprintf("Destroying ID %s", $sessionId));
$this->_redis->pipeline();
if($this->_dbNum) $this->_redis->select($this->_dbNum);
$this->_redis->del(self::SESSION_PREFIX.$sessionId);
$this->_redis->unlink(self::SESSION_PREFIX.$sessionId);
$this->_redis->exec();
return true;
}
Expand Down

0 comments on commit b70508a

Please sign in to comment.