Remove deprecated handler.register

This commit is contained in:
VirtuBox
2019-09-24 00:01:20 +02:00
parent b4fcb78f6b
commit 547b356a76
12 changed files with 23 additions and 23 deletions

View File

@@ -571,10 +571,10 @@ class WOLogMailController(CementBaseController):
def load(app):
# register the plugin class.. this only happens if the plugin is enabled
handler.register(WOLogController)
handler.register(WOLogShowController)
handler.register(WOLogResetController)
handler.register(WOLogGzipController)
handler.register(WOLogMailController)
app.handler.register(WOLogController)
app.handler.register(WOLogShowController)
app.handler.register(WOLogResetController)
app.handler.register(WOLogGzipController)
app.handler.register(WOLogMailController)
# register a hook (function) to run after arguments are parsed.
hook.register('post_argument_parsing', wo_log_hook)