Skip to content
Snippets Groups Projects
Unverified Commit e5ac9858 authored by Peter Rotich's avatar Peter Rotich Committed by GitHub
Browse files

Merge pull request #5289 from JediKev/session/destroy-warning

session: Destroy Warning
parents 7578d5cd 8c698910
No related branches found
No related tags found
No related merge requests found
...@@ -228,7 +228,7 @@ extends SessionBackend { ...@@ -228,7 +228,7 @@ extends SessionBackend {
} }
function destroy($id){ function destroy($id){
return SessionData::objects()->filter(['session_id' => $id])->delete(); return (SessionData::objects()->filter(['session_id' => $id])->delete());
} }
function cleanup() { function cleanup() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment