moodle/mod/hotpot/defaults.php

10 lines
281 B
PHP
Raw Normal View History

2006-05-02 06:00:35 +00:00
<?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);
}
}
?>