aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
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");