Skip to content

Commit 4975330

Browse files
committed
deprecate ldap_connect_wallet()
1 parent 13cca38 commit 4975330

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ext/ldap/ldap.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -973,8 +973,7 @@ PHP_FUNCTION(ldap_connect)
973973
LDAP *ldap = NULL;
974974

975975
if (ZEND_NUM_ARGS() > 2) {
976-
zend_error(E_DEPRECATED, "Calling ldap_connect() with Oracle-specific arguments is deprecated, "
977-
"use ldap_connect_wallet() instead");
976+
zend_error(E_DEPRECATED, "Calling ldap_connect() with Oracle-specific arguments is deprecated");
978977
} else if (ZEND_NUM_ARGS() == 2) {
979978
zend_error(E_DEPRECATED, "Usage of ldap_connect with two arguments is deprecated");
980979
}
@@ -1102,6 +1101,8 @@ PHP_FUNCTION(ldap_connect_wallet) {
11021101
RETURN_THROWS();
11031102
}
11041103

1104+
zend_error(E_DEPRECATED, "Calling ldap_connect_wallet is deprecated");
1105+
11051106
if (authmode != 0) {
11061107
ssl = true;
11071108
}

0 commit comments

Comments
 (0)