From b0224d51daa79a1b72df0e4a8213e425b5582102 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Mon, 30 Jul 2001 05:36:18 +0000 Subject: Zend compatibility patch --- ext/yaz/php_yaz.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'ext/yaz/php_yaz.c') diff --git a/ext/yaz/php_yaz.c b/ext/yaz/php_yaz.c index 03daba8da2..3a42ce8632 100644 --- a/ext/yaz/php_yaz.c +++ b/ext/yaz/php_yaz.c @@ -2188,10 +2188,6 @@ PHP_FUNCTION(yaz_scan_result) { WRONG_PARAM_COUNT; } - if (!ParameterPassedByReference(ht, 2)) - { - WRONG_PARAM_COUNT; - } } else if (ZEND_NUM_ARGS() == 1) { @@ -2325,10 +2321,6 @@ PHP_FUNCTION(yaz_ccl_parse) WRONG_PARAM_COUNT; } - if (!ParameterPassedByReference(ht, 3)) { - php_error(E_WARNING, "Third argument must be passed by reference."); - RETURN_FALSE; - } pval_destructor(*pval_res); if (array_init(*pval_res) == FAILURE) { -- cgit v1.2.1