forked from mrlan/LRR
logout.php: indent code and add matching ?>.
parent
ac6956d58c
commit
d2509e8de5
|
@ -13,10 +13,11 @@ session_regenerate_id(true);
|
|||
// Then finally, make sure you pick up the new session ID
|
||||
$session_id = session_id();
|
||||
|
||||
|
||||
unset($_SESSION['user_id']);
|
||||
unset($_SESSION['user_email']);
|
||||
unset($_SESSION['user_type']);
|
||||
unset($_SESSION['user_student_id']);
|
||||
unset($_SESSION['user_fullname']);
|
||||
header("Location: index.php");
|
||||
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue