Remove unused functions

This commit is contained in:
cgfhtw
2024-08-08 12:45:36 +02:00
parent b54449012b
commit f1a2ef25c7
7 changed files with 1 additions and 288 deletions
-28
View File
@@ -176,34 +176,6 @@ class Student_model extends DB_Model
return $result->retval[0]->student_uid;
}
/**
* Get students UID by PrestudentID.
* @param $prestudent_id
* @return mixed
*/
public function checkIfUID($prestudent_id)
{
$this->addSelect('student_uid');
$result = $this->loadWhere(
array('prestudent_id' => $prestudent_id)
);
if(isError($result))
{
return error("Error while checking student_uid");
}
if (!hasData($result))
{
return success("0", "Keine Student_uid vorhanden");
}
$student_uid = $result->retval[0]->student_uid;
return success($student_uid);
}
public function searchStudent($filter)
{
$this->addSelect('vorname, nachname, gebdatum, person.person_id, student_uid');