MDL-14945
[moodle-linuxchix.git] / mod / workshop / defaults.php
blob95b8965444d30dc924e0ff6d1d51ea718fb12089
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);
9 ?>