Student.php controller: renamed method add Interessent to addFirstPrestudentstatus

This commit is contained in:
Alexei Karpenko
2025-10-03 14:05:40 +02:00
parent 60a1d40048
commit b22c6c10e4
@@ -483,7 +483,7 @@ class Student extends FHCAPI_Controller
if (isError($result)) $errors[] = getError($result);
$result = $this->_addKontakt($person_id);
if (isError($result)) $errors[] = getError($result);
if (!$this->input->post('personOnly')) $result = $this->_addInteressent($person_id);
if (!$this->input->post('personOnly')) $result = $this->_addFirstPrestudentstatus($person_id);
if (isError($result)) $errors[] = getError($result);
}
@@ -635,7 +635,7 @@ class Student extends FHCAPI_Controller
return success(null);
}
private function _addInteressent($person_id)
private function _addFirstPrestudentstatus($person_id)
{
// Prestudent anlegen