From: moodler Date: Thu, 12 Dec 2002 13:35:10 +0000 (+0000) Subject: Don't even attempt to install the template module X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=c21f835ac36b35b1aa3e6971b7edfafbb17a77ac;p=moodle.git Don't even attempt to install the template module --- diff --git a/admin/index.php b/admin/index.php index d093276378..f6fdd229cf 100644 --- a/admin/index.php +++ b/admin/index.php @@ -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);