protected function clearReportEvent()
    {
        $key = 'clear';
        $this->controlToken($key);

        if ($this->isQuery($key)) {
            $this->report->delete();
            $this->redirect('admin/report/events');
        }
    }
protected function clearReportEvent()
    {
        $key = 'clear';
        $this->controlToken($key);

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