concrete/src/Block/Block.php
public function resetCustomCacheSettings()
    {
        $db = Loader::db();
        $c = $this->getBlockCollectionObject();
        $cvID = $c->getVersionID();
        $db->update(
            'CollectionVersionBlocks',
            ['cbOverrideBlockTypeCacheSettings' => 0],
            [
                'cID' => $this->getBlockCollectionID(),
                'cvID' => $cvID,
                'arHandle' => $this->getAreaHandle(),
                'bID' => $this->getBlockID(),
            ]
            );
        $db->delete(
            'CollectionVersionBlocksCacheSettings',
            [
                'cID' => $this->getBlockCollectionID(),
                'cvID' => $cvID,
                'arHandle' => $this->getAreaHandle(),
                'bID' => $this->getBlockID(),
            ]
            );
    }
public function resetCustomCacheSettings()
    {
        $db = Loader::db();
        $c = $this->getBlockCollectionObject();
        $cvID = $c->getVersionID();
        $db->update(
            'CollectionVersionBlocks',
            ['cbOverrideBlockTypeCacheSettings' => 0],
            [
                'cID' => $this->getBlockCollectionID(),
                'cvID' => $cvID,
                'arHandle' => $this->getAreaHandle(),
                'bID' => $this->getBlockID(),
            ]
            );
        $db->delete(
            'CollectionVersionBlocksCacheSettings',
            [
                'cID' => $this->getBlockCollectionID(),
                'cvID' => $cvID,
                'arHandle' => $this->getAreaHandle(),
                'bID' => $this->getBlockID(),
            ]
            );
    }
public function resetCustomCacheSettings ( ) { $ db = Loader :: db ( ) ; $ c = $ this -> getBlockCollectionObject ( ) ; $ cvID = $ c -> getVersionID ( ) ; $ db -> update ( 'CollectionVersionBlocks' , [ 'cbOverrideBlockTypeCacheSettings' => 0 ] , [ 'cID' => $ this -> getBlockCollectionID ( ) , 'cvID' => $ cvID , 'arHandle' => $ this -> getAreaHandle ( ) , 'bID' => $ this -> getBlockID ( ) , ] ) ; $ db -> delete ( 'CollectionVersionBlocksCacheSettings' , [ 'cID' => $ this -> getBlockCollectionID ( ) , 'cvID' => $ cvID , 'arHandle' => $ this -> getAreaHandle ( ) , 'bID' => $ this -> getBlockID ( ) , ] ) ; }
Reset the cache settings, so that concrete5 will use the values of the block type controller.
Reset the cache settings so that concrete5 will use the values of the block type controller .