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
MDL-14945
[moodle-linuxchix.git]
/
mod
/
workshop
/
defaults.php
blob
95b8965444d30dc924e0ff6d1d51ea718fb12089
1
<
?php
// $Id$
2
if
(
empty
(
$CFG
->
workshop_initialdisable
)) {
3
if
(!
count_records
(
'workshop'
)) {
4
set_field
(
'modules'
,
'visible'
,
0
,
'name'
,
'workshop'
);
// Disable it by default
5
set_config
(
'workshop_initialdisable'
,
1
);
6
}
7
}
8
9
?
>