original_string: public function deleteAll($idSite)
      {
          Piwik::checkUserHasSuperUserAccess();
  
          $this->checkSingleIdSite($idSite, $extraMessage = "Note: Cannot delete annotations from multiple sites.");
  
          $annotations = new AnnotationList($idSite);
  
          // remove the notes & save the list
          $annotations->removeAll($idSite);
          $annotations->save($idSite);
      }
code: public function deleteAll($idSite)
      {
          Piwik::checkUserHasSuperUserAccess();
  
          $this->checkSingleIdSite($idSite, $extraMessage = "Note: Cannot delete annotations from multiple sites.");
  
          $annotations = new AnnotationList($idSite);
  
          // remove the notes & save the list
          $annotations->removeAll($idSite);
          $annotations->save($idSite);
      }
code_tokens: public function deleteAll ( $ idSite ) { Piwik :: checkUserHasSuperUserAccess ( ) ; $ this -> checkSingleIdSite ( $ idSite , $ extraMessage = "Note: Cannot delete annotations from multiple sites." ) ; $ annotations = new AnnotationList ( $ idSite ) ; // remove the notes & save the list $ annotations -> removeAll ( $ idSite ) ; $ annotations -> save ( $ idSite ) ; }
docstring: Removes all annotations for a single site. Only super users can use this method.
  
  @param string $idSite The ID of the site to remove annotations for.
docstring_tokens: Removes all annotations for a single site . Only super users can use this method .