aboutsummaryrefslogtreecommitdiff
path: root/mod/diagnostics
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-15 20:49:18 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-15 20:49:18 +0000
commite8b8ce3e70dbbc9d5ec03f8c6e4b62b4dd5122f8 (patch)
tree3cd6bbced0c63c038fa8c17df6d6d3bf8f8db549 /mod/diagnostics
parent68d9bce9cb0e98a50da8a67a665d9c537ce012d0 (diff)
downloadelgg-e8b8ce3e70dbbc9d5ec03f8c6e4b62b4dd5122f8.tar.gz
elgg-e8b8ce3e70dbbc9d5ec03f8c6e4b62b4dd5122f8.tar.bz2
updated to removing more deprecation warnings (from hellekin)
git-svn-id: http://code.elgg.org/elgg/trunk@7636 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/diagnostics')
-rw-r--r--mod/diagnostics/start.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/diagnostics/start.php b/mod/diagnostics/start.php
index 5f0f80d62..2ede7099d 100644
--- a/mod/diagnostics/start.php
+++ b/mod/diagnostics/start.php
@@ -27,8 +27,7 @@ function diagnostics_init()
function diagnostics_pagesetup()
{
if (elgg_get_context() == 'admin' && isadminloggedin()) {
- global $CONFIG;
- add_submenu_item(elgg_echo('diagnostics'), 'pg/diagnostics/');
+ elgg_add_submenu_item(array('text' => elgg_echo('diagnostics'), 'href' => 'pg/diagnostics/'));
}
}