aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/group.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-30 21:48:24 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-30 21:48:24 +0000
commitc27eac2d2a970e76a1204757bbe15da8efb2870c (patch)
tree7f524d3ee95391163293d9f77a945e2915c3e8ac /engine/lib/group.php
parentf49fdf4e1c80fe5bde922c25bdd6ca0e2c912ddb (diff)
downloadelgg-c27eac2d2a970e76a1204757bbe15da8efb2870c.tar.gz
elgg-c27eac2d2a970e76a1204757bbe15da8efb2870c.tar.bz2
Refs #1439: Using new page_owner functions in all of core
git-svn-id: http://code.elgg.org/elgg/trunk@7140 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/group.php')
-rw-r--r--engine/lib/group.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/lib/group.php b/engine/lib/group.php
index 8c68e0aca..ed7aa504a 100644
--- a/engine/lib/group.php
+++ b/engine/lib/group.php
@@ -201,7 +201,7 @@ $order_by = "", $limit = 10, $offset = 0, $count = FALSE) {
$container_guid = (int)$group_guid;
if ($container_guid == 0) {
- $container_guid = page_owner();
+ $container_guid = elgg_get_page_owner_guid();
}
$where = array();
@@ -309,7 +309,7 @@ $order_by = "", $site_guid = 0, $count = false) {
$container_guid = (int)$group_guid;
if ($container_guid == 0) {
- $container_guid = page_owner();
+ $container_guid = elgg_get_page_owner_guid();
}
$where = array();
@@ -583,7 +583,7 @@ function group_gatekeeper($forward = true) {
$allowed = true;
$url = '';
- if ($group = page_owner_entity()) {
+ if ($group = elgg_get_page_owner()) {
if ($group instanceof ElggGroup) {
$url = $group->getURL();
if (