public function FrxDataSource::deleteBlock in Forena Reports 7.3
Delete data block stored in database.
Parameters
$block_name Data block to delete:
File
- ./
FrxDataSource.inc, line 479 - Class that defines default methods for access control in an FrxDataSource
Class
- FrxDataSource
- @file Class that defines default methods for access control in an FrxDataSource
Code
public function deleteBlock($block_name) {
db_delete('forena_data_blocks')
->condition('repository', $this->name)
->condition('block_name', $block_name)
->execute();
}