Don't even attempt to install the template module

This commit is contained in:
moodler
2002-12-12 13:35:10 +00:00
parent 1d1b312890
commit c21f835ac3
+5
View File
@@ -129,6 +129,11 @@
}
foreach ($mods as $mod) {
if ($mod == "NEWMODULE") { // Someone has unzipped the template, ignore it
continue;
}
$fullmod = "$CFG->dirroot/mod/$mod";
unset($module);