diff --git a/dokuwiki/action.php b/dokuwiki/action.php index 36d7e20..d464030 100644 --- a/dokuwiki/action.php +++ b/dokuwiki/action.php @@ -11,7 +11,7 @@ class action_plugin_brmburo extends DokuWiki_Action_Plugin /** @inheritDoc */ public function register(Doku_Event_Handler $controller) { - $controller->register_hook('ACTION_ACT_PREPROCESS', 'AFTER|BEFORE', $this, 'handleActionActPreprocess'); + $controller->register_hook('ACTION_ACT_PREPROCESS', 'BEFORE', $this, 'handleActionActPreprocess'); } @@ -27,8 +27,8 @@ class action_plugin_brmburo extends DokuWiki_Action_Plugin public function handleActionActPreprocess(Doku_Event $event, $param) { $act = act_clean($event->data); if ($act === 'payments') { - $event->preventDefault(); - echo "TEST"; + echo "test"; + die(); } }