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
/
exercise
/
defaults.php
blob
c5a0cb527dabc9cd240d5044d6d2a3c104a3d003
1
<
?php
// $Id$
2
if
(
empty
(
$CFG
->
exercise_initialdisable
)) {
3
if
(!
count_records
(
'exercise'
)) {
4
set_field
(
'modules'
,
'visible'
,
0
,
'name'
,
'exercise'
);
// Disable it by default
5
set_config
(
'exercise_initialdisable'
,
1
);
6
}
7
}
8
9
?
>