DW compatibility class.
This commit is contained in:
parent
939bab0a3c
commit
bd2aeb0dc5
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
|||
* @license GPL 2 http://www.gnu.org/licenses/gpl-2.0.html
|
||||
* @author Dominik Pantůček <dominik.pantucek@trustica.cz>
|
||||
*/
|
||||
class action_plugin_brmburo extends \dokuwiki\Extension\ActionPlugin
|
||||
class action_plugin_brmburo extends DokuWiki_Action_Plugin
|
||||
{
|
||||
|
||||
/** @inheritDoc */
|
||||
|
@ -25,7 +25,7 @@ class action_plugin_brmburo extends \dokuwiki\Extension\ActionPlugin
|
|||
* @return void
|
||||
*/
|
||||
public function handleActionActPreprocess(Doku_Event $event, $param) {
|
||||
$act = act_clean($event->$data);
|
||||
$act = act_clean($event->data);
|
||||
if ($act === 'payments') {
|
||||
$event->preventDefault();
|
||||
echo "TEST";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue