From: stronk7 Date: Wed, 30 Aug 2006 20:27:29 +0000 (+0000) Subject: Triple "l" were preventing new installations to be executed for plugins. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=450cf307ea31a3c0fcb8e60292b5ba18a24c77cf;p=moodle.git Triple "l" were preventing new installations to be executed for plugins. --- diff --git a/lib/adminlib.php b/lib/adminlib.php index 8c88e534cf..f4e68eb375 100644 --- a/lib/adminlib.php +++ b/lib/adminlib.php @@ -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 {