mirror of
https://github.com/moodle/moodle.git
synced 2025-02-13 20:36:42 +01:00
10 lines
281 B
PHP
10 lines
281 B
PHP
<?php // $Id$
|
|
if (empty($CFG->hotpot_initialdisable)) {
|
|
if (!$DB->count_records('hotpot')) {
|
|
$DB->set_field('modules', 'visible', 0, array('name'=>'hotpot')); // Disable it by default
|
|
set_config('hotpot_initialdisable', 1);
|
|
}
|
|
}
|
|
|
|
?>
|