public function cmdDeleteEvent()
    {
        if ($this->getParam('expired')) {
            $this->report->deleteExpired();
        } else {
            $this->report->delete();
        }

        $this->output();
    }
public function cmdDeleteEvent()
    {
        if ($this->getParam('expired')) {
            $this->report->deleteExpired();
        } else {
            $this->report->delete();
        }

        $this->output();
    }
public function cmdDeleteEvent ( ) { if ( $ this -> getParam ( 'expired' ) ) { $ this -> report -> deleteExpired ( ) ; } else { $ this -> report -> delete ( ) ; } $ this -> output ( ) ; }
Callback for "event-delete" command
Callback for event - delete command