aboutsummaryrefslogtreecommitdiff
path: root/mod/file
diff options
context:
space:
mode:
Diffstat (limited to 'mod/file')
-rw-r--r--mod/file/friends.php2
-rw-r--r--mod/file/index.php2
-rw-r--r--mod/file/search.php2
-rw-r--r--mod/file/upload.php2
-rw-r--r--mod/file/view.php2
-rw-r--r--mod/file/views/default/file/group_module.php2
-rw-r--r--mod/file/views/default/widgets/filerepo/content.php2
7 files changed, 7 insertions, 7 deletions
diff --git a/mod/file/friends.php b/mod/file/friends.php
index 795aa21ce..dada7494e 100644
--- a/mod/file/friends.php
+++ b/mod/file/friends.php
@@ -5,7 +5,7 @@
* @package ElggFile
*/
-$owner = elgg_get_page_owner();
+$owner = elgg_get_page_owner_entity();
elgg_push_breadcrumb(elgg_echo('file'), "pg/file/all/");
elgg_push_breadcrumb($owner->name, "pg/file/owner/$owner->username");
diff --git a/mod/file/index.php b/mod/file/index.php
index 8f2546ca0..44906d72d 100644
--- a/mod/file/index.php
+++ b/mod/file/index.php
@@ -10,7 +10,7 @@ elgg_set_page_owner_guid(get_input('guid'));
// access check for closed groups
group_gatekeeper();
-$owner = elgg_get_page_owner();
+$owner = elgg_get_page_owner_entity();
elgg_push_breadcrumb(elgg_echo('file'), "pg/file/all/");
elgg_push_breadcrumb($owner->name);
diff --git a/mod/file/search.php b/mod/file/search.php
index 157b5b8b8..b7f82e951 100644
--- a/mod/file/search.php
+++ b/mod/file/search.php
@@ -12,7 +12,7 @@ $page_owner_guid = get_input('page_owner', null);
if ($page_owner_guid) {
elgg_set_page_owner_guid($page_owner_guid);
}
-$owner = elgg_get_page_owner();
+$owner = elgg_get_page_owner_entity();
group_gatekeeper();
diff --git a/mod/file/upload.php b/mod/file/upload.php
index 8f10b9d82..f26b1bbee 100644
--- a/mod/file/upload.php
+++ b/mod/file/upload.php
@@ -8,7 +8,7 @@
elgg_load_library('elgg:file');
elgg_set_page_owner_guid(get_input('guid'));
-$owner = elgg_get_page_owner();
+$owner = elgg_get_page_owner_entity();
gatekeeper();
group_gatekeeper();
diff --git a/mod/file/view.php b/mod/file/view.php
index ee882f604..72660c406 100644
--- a/mod/file/view.php
+++ b/mod/file/view.php
@@ -8,7 +8,7 @@
$file = get_entity(get_input('guid'));
elgg_set_page_owner_guid($file->getContainerGUID());
-$owner = elgg_get_page_owner();
+$owner = elgg_get_page_owner_entity();
elgg_push_breadcrumb(elgg_echo('file'), 'pg/file/all');
diff --git a/mod/file/views/default/file/group_module.php b/mod/file/views/default/file/group_module.php
index e0501709f..8a0318a37 100644
--- a/mod/file/views/default/file/group_module.php
+++ b/mod/file/views/default/file/group_module.php
@@ -3,7 +3,7 @@
* Group file module
*/
-$group = elgg_get_page_owner();
+$group = elgg_get_page_owner_entity();
if ($group->file_enable == "no") {
return true;
diff --git a/mod/file/views/default/widgets/filerepo/content.php b/mod/file/views/default/widgets/filerepo/content.php
index d2cd246ae..d3deece56 100644
--- a/mod/file/views/default/widgets/filerepo/content.php
+++ b/mod/file/views/default/widgets/filerepo/content.php
@@ -21,7 +21,7 @@ $content = elgg_list_entities($options);
echo $content;
if ($content) {
- $url = "pg/file/owner/" . elgg_get_page_owner()->username;
+ $url = "pg/file/owner/" . elgg_get_page_owner_entity()->username;
$more_link = elgg_view('output/url', array(
'href' => $url,
'text' => elgg_echo('file:more'),