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 --- index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index b6df6b3c1..0fa5526d7 100644 --- a/index.php +++ b/index.php @@ -14,7 +14,7 @@ define('externalpage',true); require_once(dirname(__FILE__) . "/engine/start.php"); -if (!trigger_plugin_hook('index','system',null,false)) { +if (!trigger_plugin_hook('index', 'system', null, FALSE)) { /** * Check to see if user is logged in, if not display login form **/ @@ -27,10 +27,10 @@ if (!trigger_plugin_hook('index','system',null,false)) { 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('main'); global $autofeed; - $autofeed = false; + $autofeed = FALSE; $content = elgg_view_layout('two_column_left_sidebar', '', $title . $content, elgg_view("account/forms/login")); page_draw(null, $content); } -- cgit v1.2.3