From 75187715f6d7a04bbda4858d6a17138001da4807 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 21 Nov 2010 13:00:08 +0000 Subject: deprecated two site functions and removed a use of previously deprecated function in the wire plugin git-svn-id: http://code.elgg.org/elgg/trunk@7396 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/thewire/index.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'mod/thewire/index.php') diff --git a/mod/thewire/index.php b/mod/thewire/index.php index 36dc5ddab..6cd49e472 100644 --- a/mod/thewire/index.php +++ b/mod/thewire/index.php @@ -27,7 +27,12 @@ $area2 .= elgg_view("thewire/forms/add"); // Display the user's wire - $area2 .= list_user_objects($page_owner->getGUID(),'thewire'); + $options = array( + 'type' => 'object', + 'subtype' => 'thewire', + 'owner_guid' => $page_owner->getGUID() + ); + $area2 .= elgg_list_entities($options); //select the correct canvas area $body = elgg_view_layout("one_column_with_sidebar", array('content' => $area2)); -- cgit v1.2.3