Skip to content

Commit

Permalink
Adjust method signatures to match parent
Browse files Browse the repository at this point in the history
  • Loading branch information
splitbrain committed Jan 22, 2016
1 parent 41b2740 commit 53ad821
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syntax.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function connectTo($mode) {
$this->Lexer->addSpecialPattern('\{\{groupusers\|nomail\>[^}]*?\}\}',$mode,'plugin_groupusers'); $this->Lexer->addSpecialPattern('\{\{groupusers\|nomail\>[^}]*?\}\}',$mode,'plugin_groupusers');
} }


function handle($match, $state, $pos, &$handler){ function handle($match, $state, $pos, Doku_Handler $handler){
$match = substr($match,13,-2); $match = substr($match,13,-2);
$data = array(null, $state, $pos); $data = array(null, $state, $pos);
if (substr($match, 0, 7) == 'nomail>') if (substr($match, 0, 7) == 'nomail>')
Expand All @@ -70,7 +70,7 @@ function handle($match, $state, $pos, &$handler){
return $data; return $data;
} }


function render($mode, &$renderer, $data) { function render($mode, Doku_Renderer $renderer, $data) {
global $auth; global $auth;
global $lang; global $lang;


Expand Down

0 comments on commit 53ad821

Please sign in to comment.