Skip to content

Commit

Permalink
Update SafelyDestroyUserSessionTrait.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Pathologic authored Jul 24, 2024
1 parent 8c3ada1 commit 8c56698
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Services/Users/SafelyDestroyUserSessionTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ trait SafelyDestroyUserSessionTrait

protected function safelyDestroyUserSession()
{
if (defined('NO_SESSION')) {
return;
}

foreach ($this->userSessionFields as $field) {
unset($_SESSION[$this->context . $field]);
}
Expand Down

0 comments on commit 8c56698

Please sign in to comment.