mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
Don't even attempt to install the template module
This commit is contained in:
parent
1d1b312890
commit
c21f835ac3
1 changed files with 5 additions and 0 deletions
|
@ -129,6 +129,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($mods as $mod) {
|
foreach ($mods as $mod) {
|
||||||
|
|
||||||
|
if ($mod == "NEWMODULE") { // Someone has unzipped the template, ignore it
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
$fullmod = "$CFG->dirroot/mod/$mod";
|
$fullmod = "$CFG->dirroot/mod/$mod";
|
||||||
|
|
||||||
unset($module);
|
unset($module);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue