2013-06-26 14:35:33 +00:00
|
|
|
<?php
|
2013-09-13 22:39:03 +00:00
|
|
|
/**
|
|
|
|
* This function is beign used to load info that's needed for the logout page.
|
|
|
|
* it will just unset & destroy the session
|
|
|
|
* @author Daan Janssens, mentored by Matthew Lagoe
|
|
|
|
*/
|
2013-06-30 03:53:31 +00:00
|
|
|
function logout(){
|
|
|
|
session_unset();
|
2013-09-09 21:30:45 +00:00
|
|
|
session_destroy();
|
|
|
|
}
|