From b779602b0e7bd5377e9c425fc4c8f4c813153b2e Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 12 Jul 2005 07:11:33 +0000 Subject: [PATCH] No journal on new installs, merged from stable --- mod/journal/defaults.php | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 mod/journal/defaults.php diff --git a/mod/journal/defaults.php b/mod/journal/defaults.php new file mode 100644 index 00000000000..05170d94694 --- /dev/null +++ b/mod/journal/defaults.php @@ -0,0 +1,9 @@ +journal_initialdisable)) { + if (!count_records('journal')) { + set_field('modules', 'visible', 0, 'name', 'journal'); // Disable it by default + set_config('journal_initialdisable', 1); + } + } + +?>