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
|
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):
|
||||||
|
Loading…
Reference in New Issue
Block a user