public function UserModel_BeforeDeleteUser_Handler($Sender) {
      $UserID = GetValue('UserID', $Sender->EventArguments);
      $Options = GetValue('Options', $Sender->EventArguments, array());
      $Options = is_array($Options) ? $Options : array();
      $Content =& $Sender->EventArguments['Content'];
      
      $this->DeleteUserData($UserID, $Options, $Content);
   }
public function UserModel_BeforeDeleteUser_Handler($Sender) {
      $UserID = GetValue('UserID', $Sender->EventArguments);
      $Options = GetValue('Options', $Sender->EventArguments, array());
      $Options = is_array($Options) ? $Options : array();
      $Content =& $Sender->EventArguments['Content'];
      
      $this->DeleteUserData($UserID, $Options, $Content);
   }
public function UserModel_BeforeDeleteUser_Handler ( $ Sender ) { $ UserID = GetValue ( 'UserID' , $ Sender -> EventArguments ) ; $ Options = GetValue ( 'Options' , $ Sender -> EventArguments , array ( ) ) ; $ Options = is_array ( $ Options ) ? $ Options : array ( ) ; $ Content = & $ Sender -> EventArguments [ 'Content' ] ; $ this -> DeleteUserData ( $ UserID , $ Options , $ Content ) ; }
Remove Vanilla data when deleting a user.

@since 2.0.0
@package Vanilla

@param UserModel $Sender UserModel.
Remove Vanilla data when deleting a user .