Remove dead code for plugin settings

No idea what that was even intended for
This commit is contained in:
Matthias 2022-05-29 03:04:03 +02:00
parent e01918e607
commit bcac4bd2cf
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093

View File

@ -353,14 +353,9 @@ class PluginsRegistry:
self.mixins_settings[slug] = plugin_setting self.mixins_settings[slug] = plugin_setting
def deactivate_plugin_settings(self): def deactivate_plugin_settings(self):
"""Deactivate all plugin settings."""
# collect all settings logger.info('Deactivating plugin settings')
plugin_settings = {} # clear settings cache
for _, plugin_setting in self.mixins_settings.items():
plugin_settings.update(plugin_setting)
# clear cache
self.mixins_settings = {} self.mixins_settings = {}
def activate_plugin_schedule(self, plugins): def activate_plugin_schedule(self, plugins):