implement clean deletion of Seminaries

This commit is contained in:
oliver 2015-08-16 21:27:36 +02:00
commit 60b7f12f79
25 changed files with 410 additions and 9 deletions

View file

@ -127,6 +127,16 @@
}
/**
* Delete a Quest.
*
* @param int $questId ID of Quest to delete
*/
public function deleteQuest($questId)
{
$this->db->query('DELETE FROM questtypes_dragndrop WHERE quest_id = ?', 'i', $questId);
}
/**
* Create a new Drag&Drop field for a Quest.