]> granicus.if.org Git - php/commitdiff
reverted because of test failures
authorAntony Dovgal <tony2001@php.net>
Mon, 18 Aug 2008 07:46:31 +0000 (07:46 +0000)
committerAntony Dovgal <tony2001@php.net>
Mon, 18 Aug 2008 07:46:31 +0000 (07:46 +0000)
main/output.c

index 59c6c8bdaf865d246a1885666688b4da0d561111..6f3b4e3c5acfd37a3f4cdd05c93d555462ee70c1 100644 (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);
        }
 }
 /* }}} */