Ejemplo n.º 1
0
 /**
  * Log out the current user.
  *
  * @param string $url
  *            URL to redirect user to after logging out.
  * @param bool $destroy
  *            Should we destroy the session (true) or just reset it
  *            (false); destroy is for log out, reset is for expiration.
  * @param bool $isGlobalLogout
  *            Is global logout? Or do we want only local logout, so that
  *            we the remove current session & prompt for proper redirection?
  *
  * @return string Redirect URL (usually same as $url, but modified in
  *         some authentication modules).
  */
 public function logout($url, $destroy = true)
 {
     return parent::logout($url, $destroy);
 }