mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
df0fcc6f78
Hot Potatoes is disabled by default in new installations.
10 lines
257 B
PHP
10 lines
257 B
PHP
<?php
|
|
if (empty($CFG->hotpot_initialdisable)) {
|
|
if (!count_records('hotpot')) {
|
|
set_field('modules', 'visible', 0, 'name', 'hotpot'); // Disable it by default
|
|
set_config('hotpot_initialdisable', 1);
|
|
}
|
|
}
|
|
|
|
?>
|