diff options
author | Andreas Fischer <bantu@phpbb.com> | 2011-03-12 14:29:34 +0100 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2011-03-12 14:56:46 +0100 |
commit | ec15ac92f3935e08bbdb42db57586fb12a67be55 (patch) | |
tree | 4e2a05ba760325239922d0f04323799cac8d7095 /phpBB/includes/acm | |
parent | 2f57bfb6f297e9711bacb607faf6e33ab516db33 (diff) | |
download | forums-ec15ac92f3935e08bbdb42db57586fb12a67be55.tar forums-ec15ac92f3935e08bbdb42db57586fb12a67be55.tar.gz forums-ec15ac92f3935e08bbdb42db57586fb12a67be55.tar.bz2 forums-ec15ac92f3935e08bbdb42db57586fb12a67be55.tar.xz forums-ec15ac92f3935e08bbdb42db57586fb12a67be55.zip |
[ticket/10046] Remove calls to register_shutdown_function() in cron.php
After reading some PHP source as well as the PHP manual we have arrived at the
following two situations with one conclusion:
* SAPI supports flush():
o call to flush() is enough to stop the page from displaying as loading
o and thus register_shutdown_function is unnecessary
* SAPI does not support flush():
o neither a call to flush() nor the beginning of shutdown phase, which calls
registered shutdown functions can flush anything to the client
o and thus register_shutdown_function is unnecessary
Thanks to lacton for reporting the initial issue.
Thanks to nn- and naderman for doing all the dirty works.
PHPBB3-10046
Diffstat (limited to 'phpBB/includes/acm')
0 files changed, 0 insertions, 0 deletions