moodle/mod/hotpot/defaults.php
2008-06-08 16:07:11 +00:00

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