mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-16 12:05:53 +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:
@ -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