-
Bug
-
Resolution: Fixed
-
Critical
-
2.6.3
-
MOODLE_26_STABLE
-
MOODLE_26_STABLE, MOODLE_27_STABLE
-
MDL-46013_uninstall_theme -
The core\plugininfo\theme::uninstall_cleanup() method unconditionally deletes these configs:
unset_config('thememobile');
|
unset_config('themetablet');
|
unset_config('themelegacy');
|
I'm assuming that the values should be checked to see if the value is set to the name of the theme that is being deleted.
Other items that could be cleaned as well:
- themelist config value has a CSV of theme names.
theme config value could be set to the theme being uninstalled. I forget what the default theme is, but should probably be set to that.Never mind, just saw that the plugin code prevents you from uninstalling the default theme.