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/actions/download.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mod/diagnostics/actions') diff --git a/mod/diagnostics/actions/download.php b/mod/diagnostics/actions/download.php index 628d19115..3f7181f27 100644 --- a/mod/diagnostics/actions/download.php +++ b/mod/diagnostics/actions/download.php @@ -10,7 +10,7 @@ admin_gatekeeper(); $output = sprintf(elgg_echo('diagnostics:header'), date('r'), $_SESSION['user']->name); - $output = trigger_plugin_hook('diagnostics:report', 'all', null, $output); + $output = trigger_plugin_hook('diagnostics:report', 'system', null, $output); header("Cache-Control: public"); header("Content-Description: File Transfer"); @@ -19,4 +19,5 @@ header('Content-Length: '. strlen($output)); echo $output; + exit; ?> \ No newline at end of file -- cgit v1.2.3