/** * @param srCertificate $certificate */ protected function retryGeneration(srCertificate $certificate) { $certificate->setStatus(srCertificate::STATUS_NEW); $certificate->update(); ilUtil::sendSuccess($this->pl->txt('msg_retry_generation'), true); $this->ctrl->redirect($this, 'index'); }