fix maintenance controller
This commit is contained in:
@@ -13,7 +13,7 @@ import configparser
|
||||
import os
|
||||
|
||||
|
||||
def wo_stack_hook(app):
|
||||
def wo_maintenance_hook(app):
|
||||
pass
|
||||
|
||||
|
||||
@@ -52,6 +52,6 @@ class WOMaintenanceController(CementBaseController):
|
||||
|
||||
def load(app):
|
||||
# register the plugin class.. this only happens if the plugin is enabled
|
||||
handler.register(WOUpdateController)
|
||||
handler.register(WOMaintenanceController)
|
||||
# register a hook (function) to run after arguments are parsed.
|
||||
hook.register('post_argument_parsing', wo_update_hook)
|
||||
hook.register('post_argument_parsing', wo_maintenance_hook)
|
||||
|
||||
Reference in New Issue
Block a user