diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2012-08-18 13:12:57 +0200 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2012-08-18 13:12:57 +0200 |
commit | 124016b9e659215fc5eb5c682c60e4bdea8bdbbb (patch) | |
tree | 2286e94058708b45249dc381c25d27647111e46d /modules/system/system.api.php | |
parent | fa22dcb5e2fb70f0803c304db3f9c14865c65f4a (diff) | |
download | brdo-124016b9e659215fc5eb5c682c60e4bdea8bdbbb.tar.gz brdo-124016b9e659215fc5eb5c682c60e4bdea8bdbbb.tar.bz2 |
Issue #1716900 by chx: Clarify why hook_exit() must not print.
Diffstat (limited to 'modules/system/system.api.php')
-rw-r--r-- | modules/system/system.api.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php index 79ac8f169..fbb0a554f 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 |