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
347c70525c
commit
5381ae09a4
@ -518,12 +518,6 @@ class ExtensionManager(object):
|
||||
except AttributeError as ex:
|
||||
LOG.exception(_("Exception loading extension: %s"), unicode(ex))
|
||||
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
|
||||
|
||||
def _load_all_extensions(self):
|
||||
|
Loading…
Reference in New Issue
Block a user