removed mods directory from the ATutor codebase
[atutor.git] / mods / job_board / module_uninstall.php
diff --git a/mods/job_board/module_uninstall.php b/mods/job_board/module_uninstall.php
deleted file mode 100644 (file)
index e85b2a5..0000000
+++ /dev/null
@@ -1,49 +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: module_uninstall.php 8406 2009-04-01 20:38:44Z hwong $\r
-\r
-/*******\r
- * module_uninstall.php performs reversion of module_install.php\r
- */\r
-\r
-/*******\r
- * the line below safe-guards this file from being accessed directly from\r
- * a web browser. It will only execute if required from within an ATutor script,\r
- * in our case the Module::uninstall() method.\r
- */\r
-if (!defined('AT_INCLUDE_PATH')) { exit; }\r
-\r
-/********\r
- * the following code is used for removing a module-specific directory created in module_install.php.\r
- * it generates appropriate error messages to aid in its creation.\r
- */\r
-//$directory = AT_CONTENT_DIR .'job_board';\r
-\r
-/******\r
- * the following code checks if there are any errors (generated previously)\r
- * then uses the SqlUtility to run reverted database queries of module.sql, \r
- * ie. "create table" statement in module.sql is run as drop according table.\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->revertQueryFromFile(dirname(__FILE__) . '/module.sql', TABLE_PREFIX);\r
-}\r
-\r
-?>
\ No newline at end of file