mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-04 09:25:21 +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:
1 parent
5de65891c3
commit
fbe2131fa5
1 file changed
+1
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user