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-11082 Improved groups upgrade performance 1.8x -> 1.9; thanks Eloy for telling...
[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
?
>