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. --- index.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index bbeae7cf4..c1c1dc01a 100644 --- a/index.php +++ b/index.php @@ -30,8 +30,7 @@ $title = sprintf(elgg_echo("videolist:home"), "$owner->name"); // Get objects $area2 = elgg_view_title($title); -//set_input('search_viewtype', 'gallery'); -$area2 .= list_entities("object","videolist", page_owner(), 10); +$area2 .= elgg_list_entities(array('types' => 'object', 'subtypes' => 'videolist', 'container_guids' => page_owner(), 'limit' => 10)); //$area2 .= elgg_view("staticvideo/index"); -- cgit v1.2.3