You are here

public function DataManager::deleteBlock in Forena Reports 7.5

Same name and namespace in other branches
  1. 8 src/DataManager.php \Drupal\forena\DataManager::deleteBlock()

Save a data block ...

Parameters

unknown_type $data_block:

unknown_type $data:

File

src/DataManager.php, line 178
DataManager.inc Enter description here ... @author davidmetzler

Class

DataManager

Namespace

Drupal\forena

Code

public function deleteBlock($data_block) {
  $block = array();
  list($provider, $block_name) = explode('/', $data_block, 2);
  Frx::DataFile()
    ->delete($data_block . '.sql');
  Frx::DataFile()
    ->validateAllCache();
}