From 0e38a3d30362931a112b32da44237314971ae525 Mon Sep 17 00:00:00 2001 From: Stanislav Malyshev Date: Tue, 13 Oct 2009 20:54:28 +0000 Subject: [PATCH] oops, that doesn't belong to this patch --- main/main.c | 7 ------- 1 file changed, 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); -- 2.49.0