From 1db604a22672b06fd95e60328a16d5045ca9465c Mon Sep 17 00:00:00 2001 From: Pete Harris Date: Mon, 29 Mar 2010 14:05:02 +0000 Subject: Updated VideoList deprecated functions, and removed namespace clash in error messages. --- world.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'world.php') diff --git a/world.php b/world.php index 3fbd46ddd..263702f61 100644 --- a/world.php +++ b/world.php @@ -26,9 +26,7 @@ $title = sprintf(elgg_echo("videolist:search")); // Get objects $area2 = elgg_view_title($title); set_input('show_viewtype', 'all'); -$area2 .= list_entities("object","videolist", 0, 10, $fullview=true, $viewtypetoggle=false,$pagination=true); - -//$area2 .= elgg_view("staticvideo/index"); +$area2 .= elgg_list_entities(array('types' => 'object', 'subtypes' => 'videolist', 'container_guids' => page_owner(), 'limit' => 10, 'full_view' => TRUE, 'view_type_toggle' => FALSE, 'pagination' => TRUE)); set_context('videolist'); $body = elgg_view_layout('one_column_with_sidebar',$area1. $area2); -- cgit v1.2.3