/** * Log out a user by removing the related session variables. * * @param boolean completely destroy the session * @param boolean remove all tokens for user * @return boolean */ public function logout($destroy = FALSE, $logout_all = FALSE) { parent::logout($destroy, $logout_all); FB::logout(Url::base(FALSE, TRUE)); }