diff options
author | sembrestels <sembrestels@riseup.net> | 2011-10-13 08:47:51 +0200 |
---|---|---|
committer | sembrestels <sembrestels@riseup.net> | 2011-10-13 08:47:51 +0200 |
commit | 4d11483a41bc663c828193bbaad782a0f61500b2 (patch) | |
tree | 980b81ad157cdf1473574793a4929c1baf358222 /lib | |
parent | 48f7dfc6da1245e121c3a7da997e61d5c95f2305 (diff) | |
download | elgg-4d11483a41bc663c828193bbaad782a0f61500b2.tar.gz elgg-4d11483a41bc663c828193bbaad782a0f61500b2.tar.bz2 |
Upgraded depracated functions
Diffstat (limited to 'lib')
-rw-r--r-- | lib/dokuwiki.php | 4 | ||||
-rw-r--r-- | lib/dokuwiki/lib/tpl/default/main.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/dokuwiki.php b/lib/dokuwiki.php index af2e14b8d..8084508fa 100644 --- a/lib/dokuwiki.php +++ b/lib/dokuwiki.php @@ -1,8 +1,8 @@ <?php function current_dokuwiki_entity($create = true) { - $page_owner = page_owner(); - $user = get_loggedin_user(); + $page_owner = elgg_get_page_owner_guid(); + $user = elgg_get_logged_in_user_entity(); //error_log($page_owner->guid); //error_log($user->guid); if (!$page_owner) diff --git a/lib/dokuwiki/lib/tpl/default/main.php b/lib/dokuwiki/lib/tpl/default/main.php index 2de6f4987..6373ec4e9 100644 --- a/lib/dokuwiki/lib/tpl/default/main.php +++ b/lib/dokuwiki/lib/tpl/default/main.php @@ -35,7 +35,7 @@ $sidebar = ob_get_clean(); if (empty($sidebar_inline) && empty($page_inline)) { $body = elgg_view_layout('two_column_left_sidebar', '', $content, $sidebar); - echo page_draw("dokuwiki",$body); + echo elgg_view_page("dokuwiki", $body); } else { $all_link = elgg_get_site_url().'dokuwiki/'.elgg_get_page_owner_guid(); |