aboutsummaryrefslogtreecommitdiff
path: root/mod/diagnostics/views/default/admin/utilities
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-09-14 21:09:48 -0400
committerCash Costello <cash.costello@gmail.com>2011-09-14 21:09:48 -0400
commit710b17aa37dd5c90db695219defdfef7a889f29a (patch)
treeb134835879a8530ee4b477f9b5aff6fd6c974524 /mod/diagnostics/views/default/admin/utilities
parentc32bf213547c21dfb8a8bb535e9432330af010fa (diff)
downloadelgg-710b17aa37dd5c90db695219defdfef7a889f29a.tar.gz
elgg-710b17aa37dd5c90db695219defdfef7a889f29a.tar.bz2
Fixes #3681 fixed Utilities menu collisions in admin section and added documentation about registering more than one menu item with the same name to a menu
Diffstat (limited to 'mod/diagnostics/views/default/admin/utilities')
-rw-r--r--mod/diagnostics/views/default/admin/utilities/diagnostics.php30
1 files changed, 0 insertions, 30 deletions
diff --git a/mod/diagnostics/views/default/admin/utilities/diagnostics.php b/mod/diagnostics/views/default/admin/utilities/diagnostics.php
deleted file mode 100644
index 76f12b0ae..000000000
--- a/mod/diagnostics/views/default/admin/utilities/diagnostics.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-/**
- * Diagnostics admin page
- */
-
-$diagnostics_title = elgg_echo('diagnostics:report');
-$diagnostics = elgg_echo('diagnostics:description');
-$diagnostics .= elgg_view_form('diagnostics/download');
-
-// unit tests
-$unit_tests_title = elgg_echo('diagnostics:unittester');
-$unit_tests .= '<p>' . elgg_echo('diagnostics:unittester:description') . '</p>';
-$unit_tests .= '<p>' . elgg_echo('diagnostics:unittester:warning') . '</p>';
-
-if (elgg_get_config('debug')) {
- // create a button to run tests
- $params = array(
- 'text' => elgg_echo('diagnostics:test:executeall'),
- 'href' => 'engine/tests/suite.php',
- 'class' => 'elgg-button elgg-button-submit',
- );
- $unit_tests .= '<p>' . elgg_view('output/url', $params) . '</p>';
-} else {
- // no tests when not in debug mode
- $unit_tests .= elgg_echo('diagnostics:unittester:debug');
-}
-
-// display admin body
-echo elgg_view_module('inline', $diagnostics_title, $diagnostics);
-echo elgg_view_module('inline', $unit_tests_title, $unit_tests);