You are here

function forena_delete_report in Forena Reports 7.5

Same name and namespace in other branches
  1. 8 forena.report.inc \forena_delete_report()
  2. 6.2 forena.admin.inc \forena_delete_report()
  3. 6 forena.admin.inc \forena_delete_report()
  4. 7 forena.admin.inc \forena_delete_report()
  5. 7.2 forena.admin.inc \forena_delete_report()
  6. 7.3 forena.admin.inc \forena_delete_report()
  7. 7.4 forena.report.inc \forena_delete_report()

Remove the report from the database and file system.

Parameters

string $report_name:

1 call to forena_delete_report()
forena_report_delete_form_submit in ./forena.report.inc

File

./forena.report.inc, line 1627

Code

function forena_delete_report($report_name) {
  $filepath = $report_name . '.frx';
  $do = Frx::File()
    ->delete($filepath);
}