Disable Workshop by default in 1.9 MDL-13100
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user