public static function logout() {
    self::clearSession();
    $appUrlParts = parse_url(self::$config['app_url']);
    setcookie(
        'TILMELDAUTH',
        '',
        null,
        $appUrlParts['path'],
        $appUrlParts['host']
    );
  }
public static function logout() {
    self::clearSession();
    $appUrlParts = parse_url(self::$config['app_url']);
    setcookie(
        'TILMELDAUTH',
        '',
        null,
        $appUrlParts['path'],
        $appUrlParts['host']
    );
  }
public static function logout ( ) { self :: clearSession ( ) ; $ appUrlParts = parse_url ( self :: $ config [ 'app_url' ] ) ; setcookie ( 'TILMELDAUTH' , '' , null , $ appUrlParts [ 'path' ] , $ appUrlParts [ 'host' ] ) ; }
Logs the current user out of the system.
Logs the current user out of the system .