original_string: protected function clearReportEvent()
      {
          $key = 'clear';
          $this->controlToken($key);
  
          if ($this->isQuery($key)) {
              $this->report->delete();
              $this->redirect('admin/report/events');
          }
      }
code: protected function clearReportEvent()
      {
          $key = 'clear';
          $this->controlToken($key);
  
          if ($this->isQuery($key)) {
              $this->report->delete();
              $this->redirect('admin/report/events');
          }
      }
code_tokens: protected function clearReportEvent ( ) { $ key = 'clear' ; $ this -> controlToken ( $ key ) ; if ( $ this -> isQuery ( $ key ) ) { $ this -> report -> delete ( ) ; $ this -> redirect ( 'admin/report/events' ) ; } }
docstring: Deletes all system events from the database
docstring_tokens: Deletes all system events from the database