aboutsummaryrefslogtreecommitdiff
path: root/mod/diagnostics/views/default
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-01-01 14:05:31 -0500
committerCash Costello <cash.costello@gmail.com>2012-01-01 14:05:31 -0500
commit51229ebc6691f8edb17a5f15328aa626eabc09fc (patch)
tree1e7bc8656e62cfea4ec5068946d7604120f38166 /mod/diagnostics/views/default
parent280f5730b49da487a5ca82c395ca265e37dad997 (diff)
downloadelgg-51229ebc6691f8edb17a5f15328aa626eabc09fc.tar.gz
elgg-51229ebc6691f8edb17a5f15328aa626eabc09fc.tar.bz2
Fixes #4137 moves test UI to developers plugin
Diffstat (limited to 'mod/diagnostics/views/default')
-rw-r--r--mod/diagnostics/views/default/admin/develop_utilities/diagnostics.php21
1 files changed, 0 insertions, 21 deletions
diff --git a/mod/diagnostics/views/default/admin/develop_utilities/diagnostics.php b/mod/diagnostics/views/default/admin/develop_utilities/diagnostics.php
index 89e235279..c7ff3d5fc 100644
--- a/mod/diagnostics/views/default/admin/develop_utilities/diagnostics.php
+++ b/mod/diagnostics/views/default/admin/develop_utilities/diagnostics.php
@@ -14,25 +14,4 @@ $params = array(
);
$diagnostics .= '<p>' . elgg_view('output/url', $params) . '</p>';
-// 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',
- 'is_trusted' => true,
- );
- $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, array('class' => 'elgg-form-settings'));
-echo elgg_view_module('inline', $unit_tests_title, $unit_tests, array('class' => 'elgg-form-settings'));