aboutsummaryrefslogtreecommitdiff
path: root/views/default/core/settings/statistics
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/core/settings/statistics')
-rw-r--r--views/default/core/settings/statistics/numentities.php2
-rw-r--r--views/default/core/settings/statistics/online.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/views/default/core/settings/statistics/numentities.php b/views/default/core/settings/statistics/numentities.php
index 388af0af6..245fd67be 100644
--- a/views/default/core/settings/statistics/numentities.php
+++ b/views/default/core/settings/statistics/numentities.php
@@ -7,7 +7,7 @@
*/
// Get entity statistics
-$entity_stats = get_entity_statistics(get_loggedin_userid());
+$entity_stats = get_entity_statistics(elgg_get_logged_in_user_guid());
if ($entity_stats) {
?>
diff --git a/views/default/core/settings/statistics/online.php b/views/default/core/settings/statistics/online.php
index df477d871..65db42cb1 100644
--- a/views/default/core/settings/statistics/online.php
+++ b/views/default/core/settings/statistics/online.php
@@ -6,7 +6,7 @@
* @subpackage Core
*/
-$user = get_loggedin_user();
+$user = elgg_get_logged_in_user_entity();
$logged_in = 0;
$log = get_system_log($user->guid, "login", "", 'user', '', 1);