removed assign by reference & from uninstall and reset file manager location to mods...
authorgreg gay <ggay@ocad.ca>
Mon, 25 Oct 2010 15:33:01 +0000 (15:33 -0000)
committergreg gay <ggay@ocad.ca>
Mon, 25 Oct 2010 15:33:01 +0000 (15:33 -0000)
mods/certify/module.xml
mods/certify/module_uninstall.php

index 97ebb39..56cc219 100644 (file)
@@ -11,8 +11,8 @@
     <url>http://atutor.no</url> \r
     <license>BSD</license> \r
        <release> \r
-        <version>0.2</version> \r
-        <date>2009-03-26</date> \r
+        <version>0.3</version> \r
+        <date>2010-10-25</date> \r
         <state>stable</state> \r
         <notes></notes> \r
     </release> \r
index 1ba0776..68a95c3 100644 (file)
@@ -18,7 +18,7 @@ $directory = AT_CONTENT_DIR .'certify';
 \r
 // check if the directory exists\r
 if (is_dir($directory)) {\r
-       require(AT_INCLUDE_PATH.'lib/filemanager.inc.php');\r
+       require(AT_INCLUDE_PATH.'../mods/_core/file_manager/filemanager.inc.php');\r
 \r
        if (!clr_dir($directory))\r
                $msg->addError(array('MODULE_UNINSTALL', '<li>'.$directory.' can not be removed. Please manually remove it.</li>'));\r
@@ -32,7 +32,7 @@ if (is_dir($directory)) {
 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
+       $sqlUtility = new SqlUtility();\r
 \r
        /*\r
         * the SQL file could be stored anywhere, and named anything, "module.sql" is simply\r