2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-02 21:38:48 +00:00

Fix plugin registry function so tests pass

This commit is contained in:
Oliver Walters 2022-05-09 07:59:01 +10:00
parent aed02f6f0f
commit b3c1d6b603

View File

@ -89,11 +89,6 @@ class PluginsRegistry:
if not plugin:
return
# Check that the plugin is enabled
config = plugin.plugin_config()
if config and config.active:
plugin_func = getattr(plugin, func)
return plugin_func(*args, **kwargs)