reverted because of test failures

This commit is contained in:
Antony Dovgal 2008-08-18 07:46:31 +00:00
parent 7d1cd6a94b
commit c1e0866da3

View File

@ -336,13 +336,7 @@ PHPAPI void php_end_ob_buffer(zend_bool send_buffer, zend_bool just_flush TSRMLS
PHPAPI void php_end_ob_buffers(zend_bool send_buffer TSRMLS_DC)
{
while (OG(ob_nesting_level)!=0) {
/* in case of unclean_shutdown, do not output the buffer if it is not
* meant to be until end of script or ob_end_*() call */
if (CG(unclean_shutdown) && !OG(active_ob_buffer).chunk_size) {
php_end_ob_buffer(0, 0 TSRMLS_CC);
} else {
php_end_ob_buffer(send_buffer, 0 TSRMLS_CC);
}
php_end_ob_buffer(send_buffer, 0 TSRMLS_CC);
}
}
/* }}} */