comment out check Bismeldestichtag for deleteStatus

This commit is contained in:
ma0068
2025-08-14 16:28:20 +02:00
parent 729618cbe7
commit a42e70e2fe
@@ -731,15 +731,15 @@ class Status extends FHCAPI_Controller
REST_Controller::HTTP_FORBIDDEN
);
$result = $this->prestudentstatuschecklib->checkIfMeldestichtagErreicht($oldstatus->datum);
//TODO(Manu) check this check, meanwhile not active
/* $result = $this->prestudentstatuschecklib->checkIfMeldestichtagErreicht($oldstatus->datum);
//TODO(Manu) comment out: should not appear during delete (shiva)
if (!$this->getDataOrTerminateWithError($result))
$this->terminateWithError(
$this->p->t('lehre', 'error_dataVorMeldestichtag'),
self::ERROR_TYPE_GENERAL,
REST_Controller::HTTP_FORBIDDEN
);
);*/
}
// Start DB transaction