diff options
-rw-r--r-- | lib/dokuwiki/inc/actions.php | 2 | ||||
-rw-r--r-- | lib/dokuwiki/inc/auth/elgg.class.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/dokuwiki/inc/actions.php b/lib/dokuwiki/inc/actions.php index 7673683ca..ed3c12666 100644 --- a/lib/dokuwiki/inc/actions.php +++ b/lib/dokuwiki/inc/actions.php @@ -147,7 +147,7 @@ function act_dispatch(){ $evt->advise_after(); unset($evt); if ($ACT == 'save') { - $user = get_loggedin_user(); + $user = elgg_get_logged_in_user_entity(); $doku = current_dokuwiki_entity(); $group = get_entity($doku->container_guid); add_to_river('river/dokuwiki', 'wiki/'.$ACT.'/'.$QUERY, $user->getGUID(), $doku->getGUID(), $group->access_id); diff --git a/lib/dokuwiki/inc/auth/elgg.class.php b/lib/dokuwiki/inc/auth/elgg.class.php index f8b575564..c0a291832 100644 --- a/lib/dokuwiki/inc/auth/elgg.class.php +++ b/lib/dokuwiki/inc/auth/elgg.class.php @@ -75,7 +75,7 @@ class auth_elgg extends auth_basic { if (!$user) return false; //error_log("getUserData:".$username); - $page_owner = page_owner_entity(); + $page_owner = elgg_get_page_owner_entity(); $grps = array(); if ($page_owner instanceof ElggGroup) { if ($page_owner->canEdit($user->getGUID())) { |