changed git call from https to git readonly
[atutor.git] / mods / adobe_connect / module_delete.php
1 <?php\r
2 \r
3 /*******\r
4  * this function named [module_name]_delete is called whenever a course content is deleted\r
5  * which includes when restoring a backup with override set, or when deleting an entire course.\r
6  * the function must delete all module-specific material associated with this course.\r
7  * $course is the ID of the course to delete.\r
8  */\r
9 \r
10 function adobe_connect_delete($course) {\r
11 \r
12     global $db;\r
13 \r
14     // commented, adobe_connect_tasks could be used as log\r
15     $sql = "DELETE FROM ".TABLE_PREFIX."adobe_connect_tasks WHERE course_id=$course";\r
16     // mysql_query($sql, $db);\r
17 }\r
18 \r
19 ?>\r