diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-02-17 23:14:33 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-02-17 23:14:33 +0000 |
commit | ba94a48ff66a001dd20c5ac2da34681880583945 (patch) | |
tree | 29b0ebfcd19ba03c69cd8ad7e4171c0002b3d207 /index.php | |
parent | b3012350e2d8dafaf696e2c472f8cf0ae5e1674b (diff) | |
download | elgg-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 'index.php')
-rw-r--r-- | index.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); } |