aboutsummaryrefslogtreecommitdiff
path: root/mod/diagnostics/actions/download.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/actions/download.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/actions/download.php')
-rw-r--r--mod/diagnostics/actions/download.php3
1 files changed, 2 insertions, 1 deletions
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