diff options
author | sembrestels <sembrestels@riseup.net> | 2011-10-13 10:26:34 +0200 |
---|---|---|
committer | sembrestels <sembrestels@riseup.net> | 2011-10-13 10:26:34 +0200 |
commit | 50a3755344b18f943237672f88d8fbbfc63d929a (patch) | |
tree | 944b041e2677fea5e8db4671db174e6d745dc563 /start.php | |
parent | e1b86f1bbe74a41a6ffedf45bbe09837c9809092 (diff) | |
download | elgg-50a3755344b18f943237672f88d8fbbfc63d929a.tar.gz elgg-50a3755344b18f943237672f88d8fbbfc63d929a.tar.bz2 |
Upgraded depracated functions
Diffstat (limited to 'start.php')
-rw-r--r-- | start.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |