aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorPete Harris <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-29 14:05:02 +0000
committerPete Harris <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-29 14:05:02 +0000
commit1db604a22672b06fd95e60328a16d5045ca9465c (patch)
tree39467f70524855fe357bf07dc40447b8b9b11ea8 /index.php
parent52255de580654f351205b19565be601bd4caaacb (diff)
downloadelgg-1db604a22672b06fd95e60328a16d5045ca9465c.tar.gz
elgg-1db604a22672b06fd95e60328a16d5045ca9465c.tar.bz2
Updated VideoList deprecated functions, and removed namespace clash in error messages.
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 1 insertions, 2 deletions
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");