public function ACT_dosignup() { if (!$this->acl->check(array('general'))) { $this->deny(); } $contest_id = $this->path_option->getPathSection(2); $user = $this->acl->getUser(); $contest_user = new MDL_Contest_User(new MDL_Contest($contest_id), $user); $contest_user->signUp(); $this->locator->redirect('contest/entry', NULL, '/' . $contest_id); }