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
|
* @license GPL 2 http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
* @author Dominik Pantůček <dominik.pantucek@trustica.cz>
|
* @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 */
|
/** @inheritDoc */
|
||||||
|
@ -25,7 +25,7 @@ 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);
|
$act = act_clean($event->data);
|
||||||
if ($act === 'payments') {
|
if ($act === 'payments') {
|
||||||
$event->preventDefault();
|
$event->preventDefault();
|
||||||
echo "TEST";
|
echo "TEST";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue