mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 00:12:15 +00:00
correct checkIfExistingBewerberstatus
This commit is contained in:
@@ -17,7 +17,6 @@ class Status extends FHCAPI_Controller
|
||||
'getStatusgruende' => self::PERM_LOGGED,
|
||||
'getLastBismeldestichtag' => self::PERM_LOGGED,
|
||||
'isLastStatus' => self::PERM_LOGGED,
|
||||
'hasStatusBewerber' => self::PERM_LOGGED,
|
||||
'getStatusarray' => self::PERM_LOGGED,
|
||||
'deleteStatus' => ['admin:rw','assistenz:rw'],
|
||||
'loadStatus' => ['admin:r', 'assistenz:r'],
|
||||
@@ -129,16 +128,6 @@ class Status extends FHCAPI_Controller
|
||||
return $this->terminateWithSuccess($result);
|
||||
}
|
||||
|
||||
public function hasStatusBewerber($prestudent_id)
|
||||
{
|
||||
$result = $this->prestudentstatuschecklib->checkIfExistingBewerberstatus($prestudent_id);
|
||||
if (isError($result))
|
||||
{
|
||||
return $this->terminateWithError(getError($result), self::ERROR_TYPE_GENERAL);
|
||||
}
|
||||
return $this->terminateWithSuccess($result);
|
||||
}
|
||||
|
||||
public function getStudiensemesterOfStatus($prestudent_id, $status)
|
||||
{
|
||||
$result = $this->PrestudentstatusModel->loadWhere([
|
||||
|
||||
Reference in New Issue
Block a user