private function deleteReports()
 {
     // disable logging templates
     CRM_Core_DAO::executeQuery("\n            UPDATE civicrm_option_value\n            SET is_active = 0\n            WHERE value IN ('" . implode("', '", $this->reports) . "')\n        ");
     // delete report instances
     $domain_id = CRM_Core_Config::domainID();
     foreach ($this->reports as $report) {
         $dao = new CRM_Report_DAO_Instance();
         $dao->domain_id = $domain_id;
         $dao->report_id = $report;
         $dao->delete();
     }
 }
 /**                                                           
  * Delete the instance of the Report
  * 
  * @return $results no of deleted Instance  on success, false otherwise
  * @access public 
  *  
  */
 function delete($id)
 {
     $dao = new CRM_Report_DAO_Instance();
     $dao->id = $id;
     return $dao->delete();
 }