removed mods directory from the ATutor codebase
[atutor.git] / mods / social / module_delete.php
diff --git a/mods/social/module_delete.php b/mods/social/module_delete.php
deleted file mode 100644 (file)
index b05e237..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?php\r
-/****************************************************************/\r
-/* ATutor                                                                                                              */\r
-/****************************************************************/\r
-/* Copyright (c) 2002-2009                                                                             */\r
-/* Adaptive Technology Resource Centre / University of Toronto  */\r
-/* http://atutor.ca                                                                                            */\r
-/*                                                              */\r
-/* This program is free software. You can redistribute it and/or*/\r
-/* modify it under the terms of the GNU General Public License  */\r
-/* as published by the Free Software Foundation.                               */\r
-/****************************************************************/\r
-// $Id$\r
-\r
-/*******\r
- * this function named [module_name]_delete is called whenever a course content is deleted\r
- * which includes when restoring a backup with override set, or when deleting an entire course.\r
- * the function must delete all module-specific material associated with this course.\r
- * $course is the ID of the course to delete.\r
- */\r
-/*\r
-function hello_world_delete($course) {\r
-       global $db;\r
-\r
-       // delete hello_world course table entries\r
-       $sql = "DELETE FROM ".TABLE_PREFIX."hello_world WHERE course_id=$course";\r
-       mysql_query($sql, $db);\r
-\r
-       // delete hello_world course files\r
-       $path = AT_CONTENT_DIR .'hello_world/' . $course .'/';\r
-       clr_dir($path);\r
-}\r
-*/\r
-?>
\ No newline at end of file