diff options
author | Stanislav Malyshev <stas@php.net> | 2009-10-13 20:54:28 +0000 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2009-10-13 20:54:28 +0000 |
commit | 0e38a3d30362931a112b32da44237314971ae525 (patch) | |
tree | e04185c18587d8ef2c7cad3d752294020e6ead51 /main/main.c | |
parent | dd15b8810cc54d0a7c5a8c22a8ddcac1c2552a52 (diff) | |
download | php-git-0e38a3d30362931a112b32da44237314971ae525.tar.gz |
oops, that doesn't belong to this patch
Diffstat (limited to 'main/main.c')
-rw-r--r-- | main/main.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/main/main.c b/main/main.c index 283894a468..4236890b33 100644 --- a/main/main.c +++ b/main/main.c @@ -649,10 +649,6 @@ PHPAPI void php_verror(const char *docref, const char *params, int type, const c char *message; int is_function = 0; - if(!ZEND_CAN_REPORT(type)) { - return; - } - /* get error text into buffer and escape for html if necessary */ buffer_len = vspprintf(&buffer, 0, format, args); if (PG(html_errors)) { @@ -840,9 +836,6 @@ PHPAPI void php_error_docref2(const char *docref TSRMLS_DC, const char *param1, char *params; va_list args; - if(!ZEND_CAN_REPORT(type)) { - return; - } spprintf(¶ms, 0, "%s,%s", param1, param2); va_start(args, format); php_verror(docref, params ? params : "...", type, format, args TSRMLS_CC); |