/** * Log the user out * * @return void * @author Thibaud Rohmer */ public static function logout() { CurrentUser::$account = NULL; CurrentUser::$admin = false; CurrentUser::$uploader = false; session_unset(); }