concrete/src/Block/Block.php
public function activate()
    {
        $db = Loader::db();
        $q = 'update Blocks set bIsActive = 1 where bID = ?';
        $db->query($q, [$this->getBlockID()]);
    }
public function activate()
    {
        $db = Loader::db();
        $q = 'update Blocks set bIsActive = 1 where bID = ?';
        $db->query($q, [$this->getBlockID()]);
    }
public function activate ( ) { $ db = Loader :: db ( ) ; $ q = 'update Blocks set bIsActive = 1 where bID = ?' ; $ db -> query ( $ q , [ $ this -> getBlockID ( ) ] ) ; }
Activate the block.
Activate the block .