Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion action.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function getInfo(){
/******************************************************************************
** Register its handlers with the dokuwiki's event controller
*/
function register(&$controller) {
function register(Doku_Event_Handler $controller) {
$controller->register_hook('ACTION_ACT_PREPROCESS', 'BEFORE', $this, '_handle_act', array());
$controller->register_hook('TPL_ACT_UNKNOWN', 'BEFORE', $this, 'output', array());
//HTML_UPDATEPROFILEFORM_OUTPUT
Expand Down
4 changes: 2 additions & 2 deletions syntax.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function connectTo($mode){
/******************************************************************************/
/* Handle the match
*/
function handle($match, $state, $pos, &$handler){
function handle($match, $state, $pos, Doku_Handler $handler){
$match = substr($match,15,-2); //strip markup from start and end
//handle params
$data = array();
Expand Down Expand Up @@ -98,7 +98,7 @@ function _captcha_ok()
/******************************************************************************/
/* Create output
*/
function render($mode, &$renderer, $data) {
function render($mode, Doku_Renderer $renderer, $data) {
global $ID;
$project = $data['project'];

Expand Down