-
Improvement
-
Resolution: Fixed
-
Major
-
2.1.2
-
Any
-
MOODLE_21_STABLE
-
MOODLE_22_STABLE
-
w46_
MDL-30327_m22_blockconfig -
-
If a block is using the plugins config method for storing its global configuration values, they are left in the 'config_plugins' table unless code has been specifically provided in the 'before_delete' method to remove them. These should be remove automatically when the block is uninstalled, using the Moodle 'unset_all_config_for_plugin' function. It appears that blocks do not use the same 'uninstall_plugin' function that modules and other plugins do, or this would happen.