Remove legacy and never used response.Hook
This commit is contained in:
parent
4b9a6305d4
commit
a8fe4c5159
2 changed files with 0 additions and 13 deletions
|
@ -76,9 +76,6 @@ class MessageConsumer:
|
|||
if context.treat_post(res):
|
||||
res.server.send_response(res, self.data)
|
||||
|
||||
elif isinstance(res, response.Hook):
|
||||
context.hooks.add_hook(res.type, res.hook, res.src)
|
||||
|
||||
elif res is not None:
|
||||
logger.error("Unrecognized response type: %s", res)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue