implement clean deletion of Seminaries
This commit is contained in:
parent
a2c2111d63
commit
e1e64e8426
1 changed files with 410 additions and 9 deletions
|
|
@ -470,6 +470,17 @@
|
|||
$this->db->query('DELETE FROM questsubtopics WHERE id = ?', 'i', $questtopicId);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Delete all Questtopics of a Seminary.
|
||||
*
|
||||
* @param int $seminaryId ID of Seminary to delete Questtopics of
|
||||
*/
|
||||
public function deleteQuesttopicsOfSeminary($seminaryId)
|
||||
{
|
||||
$this->db->query('DELETE FROM questtopics WHERE seminary_id = ?', 'i', $seminaryId);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in a new issue