From 124016b9e659215fc5eb5c682c60e4bdea8bdbbb Mon Sep 17 00:00:00 2001
From: webchick <webchick@24967.no-reply.drupal.org>
Date: Sat, 18 Aug 2012 13:12:57 +0200
Subject: [PATCH] Issue #1716900 by chx: Clarify why hook_exit() must not
 print.

---
 modules/system/system.api.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/system/system.api.php b/modules/system/system.api.php
index 79ac8f169d6e..fbb0a554fb0b 100644
--- a/modules/system/system.api.php
+++ b/modules/system/system.api.php
@@ -689,7 +689,8 @@ function hook_element_info_alter(&$type) {
  * Perform cleanup tasks.
  *
  * This hook is run at the end of each page request. It is often used for
- * page logging and specialized cleanup. This hook MUST NOT print anything.
+ * page logging and specialized cleanup. This hook MUST NOT print anything
+ * because by the time it runs the response is already sent to the browser.
  *
  * Only use this hook if your code must run even for cached page views.
  * If you have code which must run once on all non-cached pages, use
-- 
GitLab