You are here

function insight_report_activate in Insight 7

1 call to insight_report_activate()
insight_report_form_submit in ./insight.reports.inc

File

./insight.module, line 299

Code

function insight_report_activate($irid) {
  $query = db_update('insight_report')
    ->fields(array(
    'active' => 1,
  ))
    ->condition('irid', $irid)
    ->execute();
}