aboutsummaryrefslogtreecommitdiff
path: root/mod/diagnostics/start.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-22 16:38:30 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-22 16:38:30 +0000
commitb617c9c0cd437626daaf0b1eb651ae91fdcc9f4b (patch)
treeeb86ed3d0aec50d9bed887193bd0d6b493652f05 /mod/diagnostics/start.php
parent8b75e02e489c4f02d7749f79615187921d8c0fc4 (diff)
downloadelgg-b617c9c0cd437626daaf0b1eb651ae91fdcc9f4b.tar.gz
elgg-b617c9c0cd437626daaf0b1eb651ae91fdcc9f4b.tar.bz2
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
Diffstat (limited to 'mod/diagnostics/start.php')
-rw-r--r--mod/diagnostics/start.php12
1 files changed, 6 insertions, 6 deletions
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