aboutsummaryrefslogtreecommitdiff
path: root/dashboard/latest.php
diff options
context:
space:
mode:
Diffstat (limited to 'dashboard/latest.php')
-rw-r--r--dashboard/latest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/dashboard/latest.php b/dashboard/latest.php
index 033c66695..2017da944 100644
--- a/dashboard/latest.php
+++ b/dashboard/latest.php
@@ -17,7 +17,7 @@ require_once(dirname(dirname(__FILE__)) . "/engine/start.php");
global $CONFIG;
$title = elgg_view_title(elgg_echo('content:latest'));
set_context('search');
-$content = list_registered_entities(0,10,false,false,array('object','group'));
+$content = elgg_list_registered_entities(array('limit' => 10, 'full_view' => FALSE, 'allowed_types' => array('object','group')));
set_context('latest');
$content = elgg_view_layout('two_column_left_sidebar', '', $title . $content);
page_draw(elgg_echo('content:latest'), $content);