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

@@ -78,6 +78,6 @@ class WOUpdateController(CementBaseController):
def load(app):
# register the plugin class.. this only happens if the plugin is enabled
handler.register(WOUpdateController)
app.handler.register(WOUpdateController)
# register a hook (function) to run after arguments are parsed.
hook.register('post_argument_parsing', wo_update_hook)