removed mods directory from the ATutor codebase
[atutor.git] / mods / flowplayer / module_install.php
diff --git a/mods/flowplayer/module_install.php b/mods/flowplayer/module_install.php
deleted file mode 100644 (file)
index d495033..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php\r
-/**\r
- * @desc the line below safe-guards this file from being accessed directly from a web browser. It will only execute if required from within an ATutor script, in our case the Module::install() method.\r
- */\r
-if (!defined('AT_INCLUDE_PATH')) { exit; }\r
-\r
-/**\r
- * the following code checks if there are any errors (generated previously)\r
- * then uses the SqlUtility to run any database queries it needs, ie. to create\r
- * its own tables.\r
- */\r
-if (!$msg->containsErrors() && file_exists(dirname(__FILE__) . '/module.sql')) {\r
-       // deal with the SQL file:\r
-       require(AT_INCLUDE_PATH . 'classes/sqlutility.class.php');\r
-       $sqlUtility =& new SqlUtility();\r
-\r
-       /**\r
-        * the SQL file could be stored anywhere, and named anything, "module.sql" is simply\r
-        * a convention we're using.\r
-        */\r
-       $sqlUtility->queryFromFile(dirname(__FILE__) . '/module.sql', TABLE_PREFIX);\r
-}\r
-\r
-?>
\ No newline at end of file