repo.or.cz
/
moodle-pu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
MDL-11517 reserved word MOD used in table alias in questions backup code
[moodle-pu.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
?
>