diff options
Diffstat (limited to 'mod/diagnostics/start.php')
| -rw-r--r-- | mod/diagnostics/start.php | 19 | 
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 +?>  | 
