aboutsummaryrefslogtreecommitdiff
path: root/mod/custom_index/views/default/page
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-07-03 14:59:36 -0400
committerBrett Profitt <brett.profitt@gmail.com>2011-07-03 16:35:54 -0400
commita879cd60b98ccf5497467b87037792499a56103c (patch)
treeff875bd9b026a002865afee0d3e7333ad80048f5 /mod/custom_index/views/default/page
parentc2cbd1fa8f488d8f7f769ae09e680eb2e22fc640 (diff)
downloadelgg-a879cd60b98ccf5497467b87037792499a56103c.tar.gz
elgg-a879cd60b98ccf5497467b87037792499a56103c.tar.bz2
removed deprecated function from custom_index plugin
Diffstat (limited to 'mod/custom_index/views/default/page')
-rw-r--r--mod/custom_index/views/default/page/layouts/custom_index.php2
1 files changed, 1 insertions, 1 deletions
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 = "<h2>" . elgg_echo("welcome") . " ";
- $top_box .= get_loggedin_user()->name;
+ $top_box .= elgg_get_logged_in_user_entity()->name;
$top_box .= "</h2>";
} else {
$top_box = $vars['login'];