Skip to content

Commit

Permalink
remove id check when checking for started session
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Müller <[email protected]>
  • Loading branch information
mimmi20 committed Dec 11, 2024
1 parent cf55a2d commit f1c79f2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/SessionManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,10 @@ public function sessionExists()
return true;
}

if ($this->getId()) {
return true;
}
if (headers_sent()) {
return true;
}

return false;
}

Expand Down

0 comments on commit f1c79f2

Please sign in to comment.