mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-26 09:04:28 +00:00
Löschen bei Personensuche löscht auch Testtooleinträge
This commit is contained in:
@@ -1051,6 +1051,16 @@ function casDeletePrestudent($db, $prestudent_id, $trans=true)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Entries from testtool */
|
||||||
|
if(!$error)
|
||||||
|
{
|
||||||
|
$qry = 'DELETE FROM testtool.tbl_pruefling_frage WHERE pruefling_id='.$db->db_add_param($prestudent_id, FHC_INTEGER).';
|
||||||
|
DELETE FROM testtool.tbl_antwort WHERE pruefling_id='.$db->db_add_param($pruefling->pruefling_id).';
|
||||||
|
DELETE FROM testtool.tbl_pruefling WHERE prestudent_id='.$db->db_add_param($prestudent_id, FHC_INTEGER).';';
|
||||||
|
if(!$db->db_query($qry))
|
||||||
|
$error = true;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Delete the tbl_student entry
|
* Delete the tbl_student entry
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user