general fixes and changes

This commit is contained in:
2019-06-15 19:19:09 +02:00
parent 2f04de5692
commit 08693663f8
7 changed files with 24 additions and 4 deletions

View File

@@ -92,7 +92,6 @@ Class UserSession{
return false;
}
*/
//session exists, no need to do anything
if(isset($_SESSION['usersession'])){
return true;
@@ -109,6 +108,7 @@ Class UserSession{
return true;
}
else{
//remove session from the database
Database::invalidateSession($_COOKIE['usersession']);
}
}

View File

@@ -14,5 +14,4 @@ class Thread{
array_push(Thread::$threadArray, $this);
}
}
?>