remove unneeded setting

This commit is contained in:
Matthias 2021-10-17 04:27:19 +02:00
parent dfe10a417b
commit cad744e40b
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076
2 changed files with 0 additions and 2 deletions

View File

@ -755,7 +755,6 @@ for plugin in PLUGIN_DIRS:
# collect integration plugins
INTEGRATION_PLUGINS = []
INTEGRATION_PLUGIN_SETTINGS = {}
INTEGRATION_PLUGIN_SETTING = {}
INTEGRATION_PLUGIN_LIST = {}
INTEGRATION_APPS_LOADED = False # Marks if apps were reloaded yet

View File

@ -19,7 +19,6 @@ class PluginConfig(AppConfig):
if plugin.mixin_enabled('settings'):
plugin_setting = plugin.settingspatterns
settings.INTEGRATION_PLUGIN_SETTING[slug] = plugin_setting
settings.INTEGRATION_PLUGIN_SETTINGS.update(plugin_setting)
InvenTreeSetting.GLOBAL_SETTINGS.update(plugin_setting)
# if plugin apps are enabled