diff options
Diffstat (limited to 'main/output.c')
-rw-r--r-- | main/output.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/main/output.c b/main/output.c index 9152334109..63970320f4 100644 --- a/main/output.c +++ b/main/output.c @@ -596,11 +596,8 @@ static inline void php_ob_append(const char *text, uint text_length TSRMLS_DC) /* If implicit_flush is On, send contents to next buffer and return. Both PG() and OG() should be used since we should flush implicitly always when implicit_flush is enabled in php.ini */ - if (PG(implicit_flush) || OG(implicit_flush) - /* Also flush after each chunk if output is chunked */ - || (OG(active_ob_buffer).chunk_size - && OG(active_ob_buffer).text_length >= OG(active_ob_buffer).chunk_size) - ) { + if (OG(active_ob_buffer).chunk_size + && OG(active_ob_buffer).text_length >= OG(active_ob_buffer).chunk_size) { zval *output_handler = OG(active_ob_buffer).output_handler; if (output_handler) { |