aboutsummaryrefslogtreecommitdiff
path: root/dashboard
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-17 23:14:33 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-17 23:14:33 +0000
commitba94a48ff66a001dd20c5ac2da34681880583945 (patch)
tree29b0ebfcd19ba03c69cd8ad7e4171c0002b3d207 /dashboard
parentb3012350e2d8dafaf696e2c472f8cf0ae5e1674b (diff)
downloadelgg-ba94a48ff66a001dd20c5ac2da34681880583945.tar.gz
elgg-ba94a48ff66a001dd20c5ac2da34681880583945.tar.bz2
Fixes #1488: Removed use of deprecated functions in core.
git-svn-id: http://code.elgg.org/elgg/trunk@3947 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'dashboard')
-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);