aboutsummaryrefslogtreecommitdiff
path: root/mod/diagnostics/start.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-17 15:32:23 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-17 15:32:23 +0000
commitccb5a69319a6a367988534296c678c8abf322879 (patch)
tree39e16ed3a8f4c70e68cd6bc9ac76b49d177d5ad8 /mod/diagnostics/start.php
parent287ea7790c170e4f5c13c721e759f1a37ed5ef02 (diff)
downloadelgg-ccb5a69319a6a367988534296c678c8abf322879.tar.gz
elgg-ccb5a69319a6a367988534296c678c8abf322879.tar.bz2
Fixes #1526: Big honking warning added to unit tests. Getter test also deletes its subtypes now.
git-svn-id: http://code.elgg.org/elgg/trunk@3945 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/diagnostics/start.php')
-rw-r--r--mod/diagnostics/start.php27
1 files changed, 2 insertions, 25 deletions
diff --git a/mod/diagnostics/start.php b/mod/diagnostics/start.php
index 76676c6a4..f4d1ab2af 100644
--- a/mod/diagnostics/start.php
+++ b/mod/diagnostics/start.php
@@ -43,31 +43,8 @@ function diagnostics_page_handler($page)
{
global $CONFIG;
- if (isset($page[0]))
- {
- switch ($page[0])
- {
- case 'tests' :
- if ((isset($page[1])) && ($page[1])) {
- switch ($page[1])
- {
- case 'all': break;
- default: set_input('test_func', $page[1]);
- }
-
- include($CONFIG->pluginspath . "diagnostics/testreport.php");
- }
- else
- include($CONFIG->pluginspath . "diagnostics/unittester.php");
- break;
- default: include($CONFIG->pluginspath . "diagnostics/index.php");
- }
- }
- else
- {
- // only interested in one page for now
- include($CONFIG->pluginspath . "diagnostics/index.php");
- }
+ // only interested in one page for now
+ include($CONFIG->pluginspath . "diagnostics/index.php");
}
/**