mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
d5adb60fa3
During a CLI upgrade when there are new settings in core or in a plugin, the settings are set to the defined defaults automatically. There is no ouput shown on the CLI about which new settings have been introduced or what default values the setting are set to. This patch outputs the name of the new setting and what the default value being is set is to the CLI during an upgrade. Objects and arrays are expanded into a human readable format. This plugin also makes the function that sets the defaults to be more robust so it isno longer required to be called multiple times to ensure all settings are set.