summaryrefslogtreecommitdiff
path: root/ext/yaz/php_yaz.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-07-30 05:36:18 +0000
committerZeev Suraski <zeev@php.net>2001-07-30 05:36:18 +0000
commitb0224d51daa79a1b72df0e4a8213e425b5582102 (patch)
tree730404b9029ae7e7ea335db411407d54f16acccb /ext/yaz/php_yaz.c
parentb52554951fe50acb55e5607987994b69032198a3 (diff)
downloadphp-git-b0224d51daa79a1b72df0e4a8213e425b5582102.tar.gz
Zend compatibility patch
Diffstat (limited to 'ext/yaz/php_yaz.c')
-rw-r--r--ext/yaz/php_yaz.c8
1 files changed, 0 insertions, 8 deletions
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)
{