mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
10 lines
264 B
PHP
10 lines
264 B
PHP
<?php // $Id$
|
|
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);
|
|
}
|
|
}
|
|
|
|
?>
|