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/index.php | |
| 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/index.php')
| -rw-r--r-- | mod/file/index.php | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/file/index.php b/mod/file/index.php index 9c2745f1b..28ec07031 100644 --- a/mod/file/index.php +++ b/mod/file/index.php @@ -14,20 +14,20 @@  	group_gatekeeper();  	//set the title -	if (page_owner() == get_loggedin_userid()) { +	if (elgg_get_page_owner_guid() == get_loggedin_userid()) {  		$title = elgg_echo('file:yours');  		$area1 = elgg_view('page_elements/content_header', array('context' => "mine", 'type' => 'file'));  	} else { -		$title = sprintf(elgg_echo("file:user"),page_owner_entity()->name); +		$title = sprintf(elgg_echo("file:user"),elgg_get_page_owner()->name);  		$area1 = elgg_view('page_elements/content_header', array('context' => "friends", 'type' => 'file'));  	}  	// Get objects  	set_context('search');  	$offset = (int)get_input('offset', 0); -	$area2 .= elgg_list_entities(array('types' => 'object', 'subtypes' => 'file', 'container_guid' => page_owner(), 'limit' => 10, 'offset' => $offset, 'full_view' => FALSE)); +	$area2 .= elgg_list_entities(array('types' => 'object', 'subtypes' => 'file', 'container_guid' => elgg_get_page_owner_guid(), 'limit' => 10, 'offset' => $offset, 'full_view' => FALSE));  	set_context('file'); -	$get_filter = get_filetype_cloud(page_owner()); +	$get_filter = get_filetype_cloud(elgg_get_page_owner_guid());  	if ($get_filter) {  		$area1 .= $get_filter;  	} else {  | 
