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
def deactivate_plugin_settings(self):
# collect all settings
plugin_settings = {}
for _, plugin_setting in self.mixins_settings.items():
plugin_settings.update(plugin_setting)
# clear cache
"""Deactivate all plugin settings."""
logger.info('Deactivating plugin settings')
# clear settings cache
self.mixins_settings = {}
def activate_plugin_schedule(self, plugins):