mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
9 lines
280 B
PHP
9 lines
280 B
PHP
<?php // LAMS is disabled by default
|
|
if (empty($CFG->lams_initialdisable)) {
|
|
if (!count_records('lams')) {
|
|
set_field('modules', 'visible', 0, 'name', 'lams'); // Disable it by default
|
|
set_config('lams_initialdisable', 1);
|
|
}
|
|
}
|
|
?>
|