You are here

public function FrxRepoMan::deleteBlock in Forena Reports 7.4

Same name and namespace in other branches
  1. 7.3 FrxRepoMan.inc \FrxRepoMan::deleteBlock()

Save a data block ...

Parameters

unknown_type $data_block:

unknown_type $data:

File

./FrxRepoMan.inc, line 174
FrxRepoMan.inc Enter description here ... @author davidmetzler

Class

FrxRepoMan
@file FrxRepoMan.inc Enter description here ... @author davidmetzler

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();
}