mirror of
https://github.com/moodle/moodle.git
synced 2025-07-13 10:26:31 +02:00
10 lines
273 B
PHP
10 lines
273 B
PHP
<?php // $Id$
|
|
if (empty($CFG->workshop_initialdisable)) {
|
|
if (!count_records('workshop')) {
|
|
set_field('modules', 'visible', 0, 'name', 'workshop'); // Disable it by default
|
|
set_config('workshop_initialdisable', 1);
|
|
}
|
|
}
|
|
|
|
?>
|