public function deactivate()
    {
        $db = Loader::db();
        $q = 'update Blocks set bIsActive = 0 where bID = ?';
        $db->query($q, [$this->getBlockID()]);
    }
public function deactivate()
    {
        $db = Loader::db();
        $q = 'update Blocks set bIsActive = 0 where bID = ?';
        $db->query($q, [$this->getBlockID()]);
    }
public function deactivate ( ) { $ db = Loader :: db ( ) ; $ q = 'update Blocks set bIsActive = 0 where bID = ?' ; $ db -> query ( $ q , [ $ this -> getBlockID ( ) ] ) ; }
Deactivate the block.
Deactivate the block .