From 860c56e4ca9e9a442bc0dd279bf1c2867969d66a Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 13 Nov 2021 01:36:31 +0100 Subject: [PATCH] remove helper --- InvenTree/InvenTree/helpers.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/InvenTree/InvenTree/helpers.py b/InvenTree/InvenTree/helpers.py index 253f008715..65100d258e 100644 --- a/InvenTree/InvenTree/helpers.py +++ b/InvenTree/InvenTree/helpers.py @@ -712,12 +712,3 @@ def inheritors(cls): subcls.add(child) work.append(child) return subcls - - -def setup_plugin(plg_key, plg_name): - """ - Enables plugins by reference - """ - plg_setting, _ = PluginConfig.objects.get_or_create(key=plg_key, name=plg_name) - plg_setting.active = True - plg_setting.save()