diff options
| author | Zeev Suraski <zeev@php.net> | 2002-10-06 09:06:24 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2002-10-06 09:06:24 +0000 |
| commit | de36720e0e59c593062cb3e3440665deec6f3a0f (patch) | |
| tree | c30be12f69a1f73d382a3730631e05cbfb4667f3 /main/output.c | |
| parent | b832af75f0f090ab9fd28ec61400aafdf98816eb (diff) | |
| download | php-git-de36720e0e59c593062cb3e3440665deec6f3a0f.tar.gz | |
Begin the cleanup - remove ob_flush_all()
Diffstat (limited to 'main/output.c')
| -rw-r--r-- | main/output.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/main/output.c b/main/output.c index 47f63edf00..2b72c7cbbe 100644 --- a/main/output.c +++ b/main/output.c @@ -752,28 +752,6 @@ PHP_FUNCTION(ob_flush) } /* }}} */ -/* {{{ proto bool ob_flush_all(void) - Flush (send) contents of output buffers. All buffered contents will be written/sent */ -PHP_FUNCTION(ob_flush_all) -{ - int orig; - - if (ZEND_NUM_ARGS() != 0) - WRONG_PARAM_COUNT; - - if (!OG(ob_nesting_level)) { - php_error_docref("ref.outcontrol" TSRMLS_CC, E_NOTICE, "failed to flush buffer. No buffer to flush."); - RETURN_FALSE; - } - - orig = OG(implicit_flush); /* save current implicit flush state */ - php_start_implicit_flush(TSRMLS_C); - php_end_ob_buffer(1, 1 TSRMLS_CC); - OG(implicit_flush) = orig; - - RETURN_TRUE; -} -/* }}} */ /* {{{ proto bool ob_clean(void) Clean (delete) the current output buffer */ |
