/** * (non-PHPdoc) * @see IActionController::executeAction() */ public function executeAction($parameters) { $userId = $this->_websoccer->getUser()->id; AbsencesDataService::confirmComeback($this->_websoccer, $this->_db, $userId); // success message $this->_websoccer->addFrontMessage(new FrontMessage(MESSAGE_TYPE_SUCCESS, $this->_i18n->getMessage("absence_return_success"), "")); return "office"; }