diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-26 12:43:28 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-26 12:43:28 +0000 |
commit | 0cc190deb5ec0c9608255192c042f573fd834019 (patch) | |
tree | 4cd2d31d33109d268ac595140375b604f1399276 /mod/file/views | |
parent | 5c8493c1456bb656dd4c6448fb0edde7af81b325 (diff) | |
download | elgg-0cc190deb5ec0c9608255192c042f573fd834019.tar.gz elgg-0cc190deb5ec0c9608255192c042f573fd834019.tar.bz2 |
changed elgg_get_page_owner() to elgg_get_page_owner_entity() to be more consistent
git-svn-id: http://code.elgg.org/elgg/trunk@7943 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/file/views')
-rw-r--r-- | mod/file/views/default/file/group_module.php | 2 | ||||
-rw-r--r-- | mod/file/views/default/widgets/filerepo/content.php | 2 |
2 files changed, 2 insertions, 2 deletions
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'), |