aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-06 14:01:48 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-06 14:01:48 +0000
commit30423d540268d140798e5d599e38a7d000bc77b8 (patch)
tree3bb11275752a3adaf61794674f8ad2d65712f561 /mod
parentfa1afa12b70fbf8a7514f681d0903c62135c2ad4 (diff)
downloadelgg-30423d540268d140798e5d599e38a7d000bc77b8.tar.gz
elgg-30423d540268d140798e5d599e38a7d000bc77b8.tar.bz2
Removed elgg_test entries.
git-svn-id: http://code.elgg.org/elgg/trunk@3511 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/diagnostics/start.php19
1 files changed, 1 insertions, 18 deletions
diff --git a/mod/diagnostics/start.php b/mod/diagnostics/start.php
index 1e05f2bee..34b86a9cd 100644
--- a/mod/diagnostics/start.php
+++ b/mod/diagnostics/start.php
@@ -20,12 +20,6 @@
// Register some actions
register_action("diagnostics/download",false, $CONFIG->pluginspath . "diagnostics/actions/download.php");
-
- // If debug on then enable an example test
- if ((isset($CONFIG->debug)) && ($CONFIG->debug))
- {
- register_elgg_test(elgg_echo('diagnostics:unittest:example'), 'diagnostics_test_test');
- }
}
/**
@@ -37,20 +31,9 @@
if (get_context() == 'admin' && isadminloggedin()) {
global $CONFIG;
add_submenu_item(elgg_echo('diagnostics'), $CONFIG->wwwroot . 'pg/diagnostics/');
- add_submenu_item(elgg_echo('diagnostics:unittester'), $CONFIG->wwwroot . 'pg/diagnostics/tests/');
}
}
- function diagnostics_test_test()
- {
- ob_start();
-
- for ($n = 0; $n<5; $n++)
- echo "$n ";
-
- return ElggTestResult::CreateSuccessResult(ob_get_clean());
- }
-
/**
* Diagnostics page.
*
@@ -231,4 +214,4 @@
register_plugin_hook("diagnostics:report", "all", "diagnostics_globals_hook"); // Global variables
register_plugin_hook("diagnostics:report", "all", "diagnostics_phpinfo_hook"); // PHP info
-?> \ No newline at end of file
+?>