From 50a3755344b18f943237672f88d8fbbfc63d929a Mon Sep 17 00:00:00 2001 From: sembrestels Date: Thu, 13 Oct 2011 10:26:34 +0200 Subject: Upgraded depracated functions --- start.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'start.php') diff --git a/start.php b/start.php index 4822a8c01..2c495844f 100644 --- a/start.php +++ b/start.php @@ -17,7 +17,7 @@ function dokuwiki_init(){ elgg_register_entity_type('object','dokuwiki'); elgg_register_plugin_hook_handler('entity:icon:url', 'object', 'elggdokuwiki_icon_hook'); - elgg_register_entity_url_handler('elggdokuwiki_url','object', 'dokuwiki'); + elgg_register_entity_url_handler('object', 'dokuwiki', 'elggdokuwiki_url'); // add block link to elgg_register_plugin_hook_handler('register', 'menu:owner_block', 'dokuwiki_owner_block_menu'); @@ -55,7 +55,7 @@ function dokuwiki_init(){ elgg_load_library('elgg:dokuwiki'); if ($page[0] === "all") { - set_context("search"); + elgg_set_context("search"); include(elgg_get_plugins_path().'dokuwiki/index.php'); return; } -- cgit v1.2.3