From cad744e40b4a75eab04f4f650c1fb1d1b3b3fc49 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 17 Oct 2021 04:27:19 +0200 Subject: [PATCH] remove unneeded setting --- InvenTree/InvenTree/settings.py | 1 - InvenTree/plugin/apps.py | 1 - 2 files changed, 2 deletions(-) diff --git a/InvenTree/InvenTree/settings.py b/InvenTree/InvenTree/settings.py index a73d2952de..5c67dc69f5 100644 --- a/InvenTree/InvenTree/settings.py +++ b/InvenTree/InvenTree/settings.py @@ -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 diff --git a/InvenTree/plugin/apps.py b/InvenTree/plugin/apps.py index 3144a7bfe2..639f43bd55 100644 --- a/InvenTree/plugin/apps.py +++ b/InvenTree/plugin/apps.py @@ -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