Add dokuwiki test.
This commit is contained in:
parent
4eae0835b3
commit
70a67bd1e5
1 changed files with 5 additions and 1 deletions
|
@ -25,7 +25,11 @@ class action_plugin_brmburo extends \dokuwiki\Extension\ActionPlugin
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function handleActionActPreprocess(Doku_Event $event, $param) {
|
public function handleActionActPreprocess(Doku_Event $event, $param) {
|
||||||
|
$act = act_clean($event->$data);
|
||||||
|
if ($act === 'payments') {
|
||||||
|
$event->preventDefault();
|
||||||
|
echo "TEST";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue