aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-30 04:32:04 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-30 04:32:04 +0000
commita2b3db924719b111c7c01812fe3470fbbd1ae7cc (patch)
tree3d4d96a3b91361b177553f9af506ec7f17c14b6b /views/default
parent010bc9650139814f2c74a24b6e320c5c4373e5c4 (diff)
downloadelgg-a2b3db924719b111c7c01812fe3470fbbd1ae7cc.tar.gz
elgg-a2b3db924719b111c7c01812fe3470fbbd1ae7cc.tar.bz2
Refs #2428 removed more CONFIG uses
git-svn-id: http://code.elgg.org/elgg/trunk@7769 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r--views/default/admin/overview/statistics.php2
-rw-r--r--views/default/profile/hover.php7
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']);