concrete/src/Block/BlockController.php
public function delete()
    {
        if ($this->bID > 0) {
            if ($this->btTable) {
                $ni = new BlockRecord($this->btTable);
                $ni->bID = $this->bID;
                $ni->Load('bID=' . $this->bID);
                $ni->delete();
            }
        }
    }
public function delete()
    {
        if ($this->bID > 0) {
            if ($this->btTable) {
                $ni = new BlockRecord($this->btTable);
                $ni->bID = $this->bID;
                $ni->Load('bID=' . $this->bID);
                $ni->delete();
            }
        }
    }
public function delete ( ) { if ( $ this -> bID > 0 ) { if ( $ this -> btTable ) { $ ni = new BlockRecord ( $ this -> btTable ) ; $ ni -> bID = $ this -> bID ; $ ni -> Load ( 'bID=' . $ this -> bID ) ; $ ni -> delete ( ) ; } } }
Automatically run when a block is deleted. This removes the special data from the block's specific database table. If a block needs to do more than this this method should be overridden.

@return $void
Automatically run when a block is deleted . This removes the special data from the block s specific database table . If a block needs to do more than this this method should be overridden .