aboutsummaryrefslogtreecommitdiff
path: root/lib/dokuwiki.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dokuwiki.php')
-rw-r--r--lib/dokuwiki.php4
1 files changed, 2 insertions, 2 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)