From b617c9c0cd437626daaf0b1eb651ae91fdcc9f4b Mon Sep 17 00:00:00 2001 From: cash Date: Mon, 22 Feb 2010 16:38:30 +0000 Subject: Fixes #1544: plugin hook for diagnostics now for entity "system" git-svn-id: http://code.elgg.org/elgg/trunk@3966 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/diagnostics/start.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'mod/diagnostics/start.php') diff --git a/mod/diagnostics/start.php b/mod/diagnostics/start.php index f4d1ab2af..c114c054e 100644 --- a/mod/diagnostics/start.php +++ b/mod/diagnostics/start.php @@ -186,10 +186,10 @@ function diagnostics_globals_hook($hook, $entity_type, $returnvalue, $params) register_elgg_event_handler('init','system','diagnostics_init'); register_elgg_event_handler('pagesetup','system','diagnostics_pagesetup'); -register_plugin_hook("diagnostics:report", "all", "diagnostics_basic_hook", 0); // show basics first -register_plugin_hook("diagnostics:report", "all", "diagnostics_plugins_hook", 2); // Now the plugins -register_plugin_hook("diagnostics:report", "all", "diagnostics_sigs_hook", 1); // Now the signatures +register_plugin_hook("diagnostics:report", "system", "diagnostics_basic_hook", 0); // show basics first +register_plugin_hook("diagnostics:report", "system", "diagnostics_plugins_hook", 2); // Now the plugins +register_plugin_hook("diagnostics:report", "system", "diagnostics_sigs_hook", 1); // Now the signatures -register_plugin_hook("diagnostics:report", "all", "diagnostics_globals_hook"); // Global variables -register_plugin_hook("diagnostics:report", "all", "diagnostics_phpinfo_hook"); // PHP info -?> +register_plugin_hook("diagnostics:report", "system", "diagnostics_globals_hook"); // Global variables +register_plugin_hook("diagnostics:report", "system", "diagnostics_phpinfo_hook"); // PHP info +?> \ No newline at end of file -- cgit v1.2.3