summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorStig Venaas <venaas@php.net>2002-01-04 20:56:03 +0000
committerStig Venaas <venaas@php.net>2002-01-04 20:56:03 +0000
commit2ac2b22c9b99ff8d9219ebfb44c7399806ff22a8 (patch)
tree98c766f9eceff6c4b5fc2e7ff2c8fb6fd109135d /ext
parentf68b7c5f3ebdde46f4da5db40189bcd36caba033 (diff)
downloadphp-git-2ac2b22c9b99ff8d9219ebfb44c7399806ff22a8.tar.gz
Made ldap_modify() an alias for ldap_mod_replace(). The two were identical.
#For more info, see my posting on php-dev Dec 25th.
Diffstat (limited to 'ext')
-rw-r--r--ext/ldap/ldap.c11
-rw-r--r--ext/ldap/php_ldap.h1
2 files changed, 1 insertions, 11 deletions
diff --git a/ext/ldap/ldap.c b/ext/ldap/ldap.c
index bef2df3af1..3ae1661d70 100644
--- a/ext/ldap/ldap.c
+++ b/ext/ldap/ldap.c
@@ -94,7 +94,7 @@ function_entry ldap_functions[] = {
PHP_FE(ldap_dn2ufn, NULL)
PHP_FE(ldap_add, NULL)
PHP_FE(ldap_delete, NULL)
- PHP_FE(ldap_modify, NULL)
+ PHP_FALIAS(ldap_modify, ldap_mod_replace, NULL)
/* additional functions for attribute based modifications, Gerrit Thomson */
PHP_FE(ldap_mod_add, NULL)
@@ -1414,15 +1414,6 @@ PHP_FUNCTION(ldap_add)
}
/* }}} */
-/* {{{ proto int ldap_modify(int link, string dn, array entry)
- Modify an LDAP entry */
-PHP_FUNCTION(ldap_modify)
-{
- php_ldap_do_modify(INTERNAL_FUNCTION_PARAM_PASSTHRU, LDAP_MOD_REPLACE);
-}
-/* }}} */
-
-
/* three functions for attribute base modifications, gerrit Thomson */
/* {{{ proto int ldap_mod_replace(int link, string dn, array entry)
diff --git a/ext/ldap/php_ldap.h b/ext/ldap/php_ldap.h
index fd82391e1f..4fcbff9b27 100644
--- a/ext/ldap/php_ldap.h
+++ b/ext/ldap/php_ldap.h
@@ -66,7 +66,6 @@ PHP_FUNCTION(ldap_dn2ufn);
PHP_FUNCTION(ldap_add);
PHP_FUNCTION(ldap_delete);
-PHP_FUNCTION(ldap_modify);
PHP_FUNCTION(ldap_mod_add);
PHP_FUNCTION(ldap_mod_replace);