From 3551172c0b94fd27258f8b998600f3f0561a1fdd Mon Sep 17 00:00:00 2001 From: Harald Bamberger Date: Tue, 30 Sep 2025 09:33:07 +0200 Subject: [PATCH] reenable meldestichtag check --- application/controllers/api/frontend/v1/stv/Status.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/application/controllers/api/frontend/v1/stv/Status.php b/application/controllers/api/frontend/v1/stv/Status.php index 6cebb3ddb..b4e158b74 100644 --- a/application/controllers/api/frontend/v1/stv/Status.php +++ b/application/controllers/api/frontend/v1/stv/Status.php @@ -732,15 +732,14 @@ class Status extends FHCAPI_Controller REST_Controller::HTTP_FORBIDDEN ); - //TODO(Manu) check this check, meanwhile not active -/* $result = $this->prestudentstatuschecklib->checkIfMeldestichtagErreicht($oldstatus->datum); + $result = $this->prestudentstatuschecklib->checkIfMeldestichtagErreicht($oldstatus->datum); if (!$this->getDataOrTerminateWithError($result)) $this->terminateWithError( $this->p->t('lehre', 'error_dataVorMeldestichtag'), self::ERROR_TYPE_GENERAL, REST_Controller::HTTP_FORBIDDEN - );*/ + ); } // Start DB transaction