original_string: public function deleteReport($idReport)
      {
          $APIScheduledReports = $this->getReports($idSite = false, $periodSearch = false, $idReport);
          $report = reset($APIScheduledReports);
          Piwik::checkUserHasSuperUserAccessOrIsTheUser($report['login']);
  
          $this->getModel()->updateReport($idReport, array(
              'deleted' => 1,
          ));
  
          self::$cache = array();
      }
code: public function deleteReport($idReport)
      {
          $APIScheduledReports = $this->getReports($idSite = false, $periodSearch = false, $idReport);
          $report = reset($APIScheduledReports);
          Piwik::checkUserHasSuperUserAccessOrIsTheUser($report['login']);
  
          $this->getModel()->updateReport($idReport, array(
              'deleted' => 1,
          ));
  
          self::$cache = array();
      }
code_tokens: public function deleteReport ( $ idReport ) { $ APIScheduledReports = $ this -> getReports ( $ idSite = false , $ periodSearch = false , $ idReport ) ; $ report = reset ( $ APIScheduledReports ) ; Piwik :: checkUserHasSuperUserAccessOrIsTheUser ( $ report [ 'login' ] ) ; $ this -> getModel ( ) -> updateReport ( $ idReport , array ( 'deleted' => 1 , ) ) ; self :: $ cache = array ( ) ; }
docstring: Deletes a specific report
  
  @param int $idReport
docstring_tokens: Deletes a specific report