Skip to content

Commit

Permalink
register controller & handler
Browse files Browse the repository at this point in the history
register controller & handler
  • Loading branch information
Taggic committed Jun 2, 2016
1 parent 41b668b commit 684cd41
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2015-04-30
2016-06-02
2 changes: 1 addition & 1 deletion plugin.info.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
base orphanmedia
author Taggic
email Taggic@t-online.de
date 2015-04-30
date 2016-06-02
name OrphanMedia Plugin
desc Display orphan and missing media files.
'url' => 'http://dokuwiki.org/plugin:orphanmedia',
4 changes: 2 additions & 2 deletions syntax.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function connectTo($mode) {
/******************************************************************************/
/* Handle the match
*/
function handle($match, $state, $pos, &$handler){
function handle($match, $state, $pos, Doku_Handler &$handler){
$match_array = array();
$o_syntax = $match;
//strip ~~ORPHANMEDIA: from start and ~~ from end
Expand All @@ -56,7 +56,7 @@ function handle($match, $state, $pos, &$handler){
/******************************************************************************/
/* Create output
*/
function render($format, &$renderer, $data) {
function render($format, Doku_Renderer &$renderer, $data) {
if($format !== 'xhtml'){ return false; } // cancel if not xhtml
global $INFO, $conf;

Expand Down

0 comments on commit 684cd41

Please sign in to comment.