make callbacks declare needing whitelisting

this will allow for custom or v1 callbacks locally loaded to automatically be triggered as they were in 1.x
This commit is contained in:
Brian Coca 2015-10-22 08:27:32 -04:00
parent 54e821ca94
commit c267c23020
10 changed files with 13 additions and 3 deletions

View file

@ -74,6 +74,7 @@ class CallbackModule(CallbackBase):
CALLBACK_VERSION = 2.0
CALLBACK_TYPE = 'notification'
CALLBACK_NAME = 'mail'
CALLBACK_NEEDS_WHITELIST = True
def v2_runner_on_failed(self, res, ignore_errors=False):