diff options
Diffstat (limited to 'views/default')
-rw-r--r-- | views/default/admin/overview/statistics.php | 2 | ||||
-rw-r--r-- | views/default/profile/hover.php | 7 |
2 files changed, 3 insertions, 6 deletions
diff --git a/views/default/admin/overview/statistics.php b/views/default/admin/overview/statistics.php index 1785864e7..05b96d166 100644 --- a/views/default/admin/overview/statistics.php +++ b/views/default/admin/overview/statistics.php @@ -10,8 +10,6 @@ $users_stats = get_number_users(); $total_users = get_number_users(true); -global $CONFIG; - // Get version information $version = get_version(); $release = get_version(true); diff --git a/views/default/profile/hover.php b/views/default/profile/hover.php index e31a99359..756a5838c 100644 --- a/views/default/profile/hover.php +++ b/views/default/profile/hover.php @@ -1,5 +1,7 @@ <?php - +/** + * User hover wrapper + */ ?> @@ -11,6 +13,3 @@ echo elgg_view_menu('user_hover', $vars); -// @todo change how to add on demand registration of menu items -global $CONFIG; -unset($CONFIG->menus['user_hover']); |