extensions: remove 'check_env' method
The method is not documented or used.
It was introduced for quota but unused since commit 603e3b78
.
Closes-Bug: #1328362
Change-Id: Id0a4d8606f34e54468ed0de26adbf25ff273079e
This commit is contained in:
parent
979b13a452
commit
b1b83e42ae
@ -518,12 +518,6 @@ class ExtensionManager(object):
|
|||||||
except AttributeError as ex:
|
except AttributeError as ex:
|
||||||
LOG.exception(_("Exception loading extension: %s"), unicode(ex))
|
LOG.exception(_("Exception loading extension: %s"), unicode(ex))
|
||||||
return False
|
return False
|
||||||
if hasattr(extension, 'check_env'):
|
|
||||||
try:
|
|
||||||
extension.check_env()
|
|
||||||
except exceptions.InvalidExtensionEnv as ex:
|
|
||||||
LOG.warn(_("Exception loading extension: %s"), unicode(ex))
|
|
||||||
return False
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def _load_all_extensions(self):
|
def _load_all_extensions(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user