From ba94a48ff66a001dd20c5ac2da34681880583945 Mon Sep 17 00:00:00 2001 From: brettp Date: Wed, 17 Feb 2010 23:14:33 +0000 Subject: Fixes #1488: Removed use of deprecated functions in core. git-svn-id: http://code.elgg.org/elgg/trunk@3947 36083f99-b078-4883-b0ff-0f9b5a30f544 --- dashboard/latest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dashboard') 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); -- cgit v1.2.3