Added feature to withdraw approvals/rejections for STGL

Signed-off-by: cris-technikum <hainberg@technikum-wien.at>
This commit is contained in:
Cris
2021-02-17 18:54:53 +01:00
committed by cris-technikum
parent 577d0f1eb5
commit abcf41f7a3
6 changed files with 198 additions and 3 deletions
@@ -83,4 +83,19 @@ class Anrechnung_model extends DB_Model
return $this->execQuery($qry, array($anrechnung_id));
}
/**
* Delete Anrechnungstatus.
*
* @param $anrechnungstatus_id
*/
public function deleteAnrechnungstatus($anrechnungstatus_id){
$qry = '
DELETE FROM lehre.tbl_anrechnung_anrechnungstatus
WHERE anrechnungstatus_id = ?
';
return $this->execQuery($qry, array($anrechnungstatus_id));
}
}