mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-05 14:58:50 +00:00
fix(plugin): Ensure plugins are only installed if not deactivated (#8893)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
This commit is contained in:
parent
5de65891c3
commit
fbe2131fa5
@ -291,7 +291,7 @@ class PluginsRegistry:
|
||||
collect,
|
||||
)
|
||||
|
||||
if collect:
|
||||
if collect and not settings.PLUGINS_INSTALL_DISABLED:
|
||||
logger.info('Collecting plugins')
|
||||
self.install_plugin_file()
|
||||
self.plugin_modules = self.collect_plugins()
|
||||
|
Loading…
x
Reference in New Issue
Block a user