"MDL-12304, fix double text"
[moodle-linuxchix.git] / mod / lams / defaults.php
blob38545d7f266c03fe53cb21453e0db93a8ee93d65
1 <?php // LAMS is disabled by default
2 if (empty($CFG->lams_initialdisable)) {
3 if (!count_records('lams')) {
4 set_field('modules', 'visible', 0, 'name', 'lams'); // Disable it by default
5 set_config('lams_initialdisable', 1);
8 ?>