Merge commit 'catalyst/MOODLE_19_STABLE' into mdl19-linuxchix
[moodle-linuxchix.git] / mod / journal / defaults.php
blob05170d946941849b8382615756b94dfa1b963b4b
1 <?php
2 if (empty($CFG->journal_initialdisable)) {
3 if (!count_records('journal')) {
4 set_field('modules', 'visible', 0, 'name', 'journal'); // Disable it by default
5 set_config('journal_initialdisable', 1);
9 ?>