MDL-11082 Improved groups upgrade performance 1.8x -> 1.9; thanks Eloy for telling...
[moodle-pu.git] / mod / exercise / defaults.php
blobc5a0cb527dabc9cd240d5044d6d2a3c104a3d003
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);
9 ?>