public function callbackEvent() { $this->checkAccessToken(); $this->params = $this->require_params(array('id')); $this->groupModel->deleteEvent($this->params['id'], $GLOBALS['userId']); F::rest()->show_result(); }