diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-10-30 21:48:24 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-10-30 21:48:24 +0000 |
commit | c27eac2d2a970e76a1204757bbe15da8efb2870c (patch) | |
tree | 7f524d3ee95391163293d9f77a945e2915c3e8ac /mod/file/views/default | |
parent | f49fdf4e1c80fe5bde922c25bdd6ca0e2c912ddb (diff) | |
download | elgg-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 'mod/file/views/default')
-rw-r--r-- | mod/file/views/default/file/groupprofile_files.php | 2 | ||||
-rw-r--r-- | mod/file/views/default/file/typecloud.php | 2 | ||||
-rw-r--r-- | mod/file/views/default/file/upload.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/mod/file/views/default/file/groupprofile_files.php b/mod/file/views/default/file/groupprofile_files.php index 312a5c5cf..f520f0d2e 100644 --- a/mod/file/views/default/file/groupprofile_files.php +++ b/mod/file/views/default/file/groupprofile_files.php @@ -41,7 +41,7 @@ //get a link to the users files - $users_file_url = $vars['url'] . "pg/file/" . page_owner_entity()->username; + $users_file_url = $vars['url'] . "pg/file/" . elgg_get_page_owner()->username; echo "<p><a href=\"{$users_file_url}\">" . elgg_echo('file:more') . "</a></p>"; diff --git a/mod/file/views/default/file/typecloud.php b/mod/file/views/default/file/typecloud.php index 5ac831cfe..e404327ae 100644 --- a/mod/file/views/default/file/typecloud.php +++ b/mod/file/views/default/file/typecloud.php @@ -37,7 +37,7 @@ if ($tag == "image") $url .= "&search_viewtype=gallery"; - $url .= "&page_owner=" . page_owner(); + $url .= "&page_owner=" . elgg_get_page_owner_guid(); $inputtag = get_input('tag'); if ($inputtag == $tag || (empty($inputtag) && $tag == "all")) { diff --git a/mod/file/views/default/file/upload.php b/mod/file/views/default/file/upload.php index 0a94589e5..f89cf86d3 100644 --- a/mod/file/views/default/file/upload.php +++ b/mod/file/views/default/file/upload.php @@ -27,7 +27,7 @@ $access_id = 0; } $access_id = isset($_SESSION['uploadaccessid']) ? $_SESSION['uploadaccessid'] : $access_id; - $container_guid = page_owner_entity()->guid; + $container_guid = elgg_get_page_owner_guid(); } // make sure session cache is cleared |