repo.or.cz
/
moodle-linuxchix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge commit 'catalyst/MOODLE_19_STABLE' into mdl19-linuxchix
[moodle-linuxchix.git]
/
mod
/
journal
/
defaults.php
blob
05170d946941849b8382615756b94dfa1b963b4b
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
);
6
}
7
}
8
9
?
>