]> git.mjollnir.org Git - moodle.git/commitdiff
Triple "l" were preventing new installations to be executed for plugins.
authorstronk7 <stronk7>
Wed, 30 Aug 2006 20:27:29 +0000 (20:27 +0000)
committerstronk7 <stronk7>
Wed, 30 Aug 2006 20:27:29 +0000 (20:27 +0000)
lib/adminlib.php

index 8c88e534cf77e16190ff4abe0a7edfc7aa32b5ae..f4e68eb37581ffbbb782d8d06d521ff92549aaff 100644 (file)
@@ -105,8 +105,8 @@ function upgrade_plugins($type, $dir, $return) {
             /// Both old .sql files and new install.xml are supported
             /// but we priorize install.xml (XMLDB) if present
                 $status = false;
-                if (file_exists($fullplug . '/db/installl.xml') && $CFG->xmldb_enabled) {
-                    $status = install_from_xmldb_file($fullplug . '/db/installl.xml'); //New method
+                if (file_exists($fullplug . '/db/install.xml') && $CFG->xmldb_enabled) {
+                    $status = install_from_xmldb_file($fullplug . '/db/install.xml'); //New method
                 } else if (file_exists($fullplug .'/db/'. $CFG->dbtype .'.sql')) {
                     $status = modify_database($fullplug .'/db/'. $CFG->dbtype .'.sql'); //Old method
                 } else {