applications/dashboard/controllers/class.entrycontroller.php
public function SignOut($TransientKey = "") {
      $this->CheckOverride('SignOut', $this->Target(), $TransientKey);
      
      if (Gdn::Session()->ValidateTransientKey($TransientKey) || $this->Form->IsPostBack()) {
         $User = Gdn::Session()->User;
         
         $this->EventArguments['SignoutUser'] = $User;
         $this->FireEvent("BeforeSignOut");
         
         // Sign the user right out.
         Gdn::Session()->End();
         $this->SetData('SignedOut', TRUE);
         
         $this->EventArguments['SignoutUser'] = $User;
         $this->FireEvent("SignOut");
         
         $this->_SetRedirect();
      } elseif (!Gdn::Session()->IsValid())
         $this->_SetRedirect();
      
      $this->SetData('Target', $this->Target());
      $this->Leaving = FALSE;
      $this->Render();
   }
public function SignOut($TransientKey = "") {
      $this->CheckOverride('SignOut', $this->Target(), $TransientKey);
      
      if (Gdn::Session()->ValidateTransientKey($TransientKey) || $this->Form->IsPostBack()) {
         $User = Gdn::Session()->User;
         
         $this->EventArguments['SignoutUser'] = $User;
         $this->FireEvent("BeforeSignOut");
         
         // Sign the user right out.
         Gdn::Session()->End();
         $this->SetData('SignedOut', TRUE);
         
         $this->EventArguments['SignoutUser'] = $User;
         $this->FireEvent("SignOut");
         
         $this->_SetRedirect();
      } elseif (!Gdn::Session()->IsValid())
         $this->_SetRedirect();
      
      $this->SetData('Target', $this->Target());
      $this->Leaving = FALSE;
      $this->Render();
   }
public function SignOut ( $ TransientKey = "" ) { $ this -> CheckOverride ( 'SignOut' , $ this -> Target ( ) , $ TransientKey ) ; if ( Gdn :: Session ( ) -> ValidateTransientKey ( $ TransientKey ) || $ this -> Form -> IsPostBack ( ) ) { $ User = Gdn :: Session ( ) -> User ; $ this -> EventArguments [ 'SignoutUser' ] = $ User ; $ this -> FireEvent ( "BeforeSignOut" ) ; // Sign the user right out. Gdn :: Session ( ) -> End ( ) ; $ this -> SetData ( 'SignedOut' , TRUE ) ; $ this -> EventArguments [ 'SignoutUser' ] = $ User ; $ this -> FireEvent ( "SignOut" ) ; $ this -> _SetRedirect ( ) ; } elseif ( ! Gdn :: Session ( ) -> IsValid ( ) ) $ this -> _SetRedirect ( ) ; $ this -> SetData ( 'Target' , $ this -> Target ( ) ) ; $ this -> Leaving = FALSE ; $ this -> Render ( ) ; }
Good afternoon, good evening, and goodnight.

Events: SignOut

@access public
@since 2.0.0

@param string $TransientKey (default: "")
Good afternoon good evening and goodnight .