original_string: public function logoutFrontEndUser()
      {
          if (!$this->hasFakeFrontEnd()) {
              throw new Exception('Please create a front end before calling logoutFrontEndUser.', 1334439488);
          }
          if (!$this->isLoggedIn()) {
              return;
          }
  
          $this->suppressFrontEndCookies();
  
          $GLOBALS['TSFE']->fe_user->logoff();
          $GLOBALS['TSFE']->loginUser = 0;
      }
code: public function logoutFrontEndUser()
      {
          if (!$this->hasFakeFrontEnd()) {
              throw new Exception('Please create a front end before calling logoutFrontEndUser.', 1334439488);
          }
          if (!$this->isLoggedIn()) {
              return;
          }
  
          $this->suppressFrontEndCookies();
  
          $GLOBALS['TSFE']->fe_user->logoff();
          $GLOBALS['TSFE']->loginUser = 0;
      }
code_tokens: public function logoutFrontEndUser ( ) { if ( ! $ this -> hasFakeFrontEnd ( ) ) { throw new Exception ( 'Please create a front end before calling logoutFrontEndUser.' , 1334439488 ) ; } if ( ! $ this -> isLoggedIn ( ) ) { return ; } $ this -> suppressFrontEndCookies ( ) ; $ GLOBALS [ 'TSFE' ] -> fe_user -> logoff ( ) ; $ GLOBALS [ 'TSFE' ] -> loginUser = 0 ; }
docstring: Logs out the current front-end user.
  
  If no front-end user is logged in, this function does nothing.
  
  @throws Exception if no front end has been created
  
  @return void
docstring_tokens: Logs out the current front - end user .