moodle/mod/hotpot/defaults.php
2006-05-02 06:00:35 +00:00

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);
}
}
?>