mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
remove unneeded setting
This commit is contained in:
parent
dfe10a417b
commit
cad744e40b
@ -755,7 +755,6 @@ for plugin in PLUGIN_DIRS:
|
|||||||
# collect integration plugins
|
# collect integration plugins
|
||||||
INTEGRATION_PLUGINS = []
|
INTEGRATION_PLUGINS = []
|
||||||
|
|
||||||
INTEGRATION_PLUGIN_SETTINGS = {}
|
|
||||||
INTEGRATION_PLUGIN_SETTING = {}
|
INTEGRATION_PLUGIN_SETTING = {}
|
||||||
INTEGRATION_PLUGIN_LIST = {}
|
INTEGRATION_PLUGIN_LIST = {}
|
||||||
INTEGRATION_APPS_LOADED = False # Marks if apps were reloaded yet
|
INTEGRATION_APPS_LOADED = False # Marks if apps were reloaded yet
|
||||||
|
@ -19,7 +19,6 @@ class PluginConfig(AppConfig):
|
|||||||
if plugin.mixin_enabled('settings'):
|
if plugin.mixin_enabled('settings'):
|
||||||
plugin_setting = plugin.settingspatterns
|
plugin_setting = plugin.settingspatterns
|
||||||
settings.INTEGRATION_PLUGIN_SETTING[slug] = plugin_setting
|
settings.INTEGRATION_PLUGIN_SETTING[slug] = plugin_setting
|
||||||
settings.INTEGRATION_PLUGIN_SETTINGS.update(plugin_setting)
|
|
||||||
InvenTreeSetting.GLOBAL_SETTINGS.update(plugin_setting)
|
InvenTreeSetting.GLOBAL_SETTINGS.update(plugin_setting)
|
||||||
|
|
||||||
# if plugin apps are enabled
|
# if plugin apps are enabled
|
||||||
|
Loading…
Reference in New Issue
Block a user