applications/dashboard/models/class.banmodel.php
public function  Delete($Where = '', $Limit = FALSE, $ResetData = FALSE) {
      if (isset($Where['BanID'])) {
         $OldBan = $this->GetID($Where['BanID'], DATASET_TYPE_ARRAY);
      }

      parent::Delete($Where, $Limit, $ResetData);

      if (isset($OldBan))
         $this->ApplyBan(NULL, $OldBan);
   }
public function  Delete($Where = '', $Limit = FALSE, $ResetData = FALSE) {
      if (isset($Where['BanID'])) {
         $OldBan = $this->GetID($Where['BanID'], DATASET_TYPE_ARRAY);
      }

      parent::Delete($Where, $Limit, $ResetData);

      if (isset($OldBan))
         $this->ApplyBan(NULL, $OldBan);
   }
public function Delete ( $ Where = '' , $ Limit = FALSE , $ ResetData = FALSE ) { if ( isset ( $ Where [ 'BanID' ] ) ) { $ OldBan = $ this -> GetID ( $ Where [ 'BanID' ] , DATASET_TYPE_ARRAY ) ; } parent :: Delete ( $ Where , $ Limit , $ ResetData ) ; if ( isset ( $ OldBan ) ) $ this -> ApplyBan ( NULL , $ OldBan ) ; }
Remove a ban.

@since 2.0.18
@access public

@param array $Where
@param int $Limit
@param bool $ResetData
Remove a ban .