remove dead code

This commit is contained in:
Matthias 2022-03-13 20:58:40 +01:00
parent b1a3445338
commit 080ee2ea50
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -53,7 +53,7 @@ class InvenTreePluginBase():
else:
return self.plugin_name()
def plugin_config(self, raise_error=False):
def plugin_config(self):
"""
Return the PluginConfig object associated with this plugin
"""
@ -68,9 +68,6 @@ class InvenTreePluginBase():
except (OperationalError, ProgrammingError) as error:
cfg = None
if raise_error:
raise error
return cfg
def is_active(self):