mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Remove dead code for plugin settings
No idea what that was even intended for
This commit is contained in:
parent
e01918e607
commit
bcac4bd2cf
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user