aboutsummaryrefslogtreecommitdiff
path: root/mod/custom_index
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-07-03 14:59:36 -0400
committercash <cash.costello@gmail.com>2011-07-03 14:59:36 -0400
commit97c5c8f8d3114601b33bf7d3310c9bfaefddd655 (patch)
treeff875bd9b026a002865afee0d3e7333ad80048f5 /mod/custom_index
parent8cd70626545567f536623a390ddcffdfa60f61f3 (diff)
downloadelgg-97c5c8f8d3114601b33bf7d3310c9bfaefddd655.tar.gz
elgg-97c5c8f8d3114601b33bf7d3310c9bfaefddd655.tar.bz2
removed deprecated function from custom_index plugin
Diffstat (limited to 'mod/custom_index')
-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'];