mirror of
https://github.com/moodle/moodle.git
synced 2025-02-18 23:05:30 +01:00
Rather than overloading the $CFG->bloglevel setting which had a confusing UI in the appearance subsystem. In order to achieve this we modify take the defaults from the existing bloglevel setting and set that for $CFG->enableblogs. Note that in order to prevent a bad default settings from being set we also set $CFG->bloglevel to a valid 'enabled' setting.