aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/start.php')
-rw-r--r--mod/groups/start.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/groups/start.php b/mod/groups/start.php
index 689e24863..b81ae81ce 100644
--- a/mod/groups/start.php
+++ b/mod/groups/start.php
@@ -200,7 +200,7 @@
global $CONFIG;
// Get the page owner entity
- $page_owner = page_owner_entity();
+ $page_owner = elgg_get_page_owner();
if (get_context() == 'groups') {
if ($page_owner instanceof ElggGroup) {
@@ -399,7 +399,7 @@
*/
function groups_write_acl_plugin_hook($hook, $entity_type, $returnvalue, $params)
{
- $page_owner = page_owner_entity();
+ $page_owner = elgg_get_page_owner();
if (!$loggedin = get_loggedin_user()) {
return $returnvalue;
}