From a879cd60b98ccf5497467b87037792499a56103c Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 3 Jul 2011 14:59:36 -0400 Subject: removed deprecated function from custom_index plugin --- mod/custom_index/views/default/page/layouts/custom_index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/custom_index') diff --git a/mod/custom_index/views/default/page/layouts/custom_index.php b/mod/custom_index/views/default/page/layouts/custom_index.php index 0883e7274..6b3f6d739 100644 --- a/mod/custom_index/views/default/page/layouts/custom_index.php +++ b/mod/custom_index/views/default/page/layouts/custom_index.php @@ -17,7 +17,7 @@ // Top box for login or welcome message if (elgg_is_logged_in()) { $top_box = "

" . elgg_echo("welcome") . " "; - $top_box .= get_loggedin_user()->name; + $top_box .= elgg_get_logged_in_user_entity()->name; $top_box .= "

"; } else { $top_box = $vars['login']; -- cgit v1.2.3