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

@@ -998,9 +998,9 @@ class WOStackController(CementBaseController):
def load(app):
# register the plugin class.. this only happens if the plugin is enabled
app.handler.register(WOStackController)
handler.register(WOStackStatusController)
handler.register(WOStackMigrateController)
handler.register(WOStackUpgradeController)
app.handler.register(WOStackStatusController)
app.handler.register(WOStackMigrateController)
app.handler.register(WOStackUpgradeController)
# register a hook (function) to run after arguments are parsed.
hook.register('post_argument_parsing', wo_stack_hook)