Added deprecated warnings

This commit is contained in:
William Mead 2024-02-01 11:42:15 +01:00
parent 3fb9c1f734
commit f6c91c368c
2 changed files with 26 additions and 8 deletions

View File

@ -2,6 +2,22 @@
English Dolibarr ChangeLog
--------------------------------------------------------------
***** ChangeLog for 20.0.0 compared to 19.0.0 *****
For users:
----------
NEW: Compatibility with PHP 8.3
...
For developers or integrators:
------------------------------
...
WARNING:
--------
The following changes may create regressions for some external modules, but were necessary to make Dolibarr better:
* Ldap class methods connect_bind() & dump_content() have been renamed
***** ChangeLog for 19.0.0 compared to 18.0.0 *****

View File

@ -304,11 +304,12 @@ class Ldap
// Connection handling methods -------------------------------------------
/**
* Connect and bind
* Use this->server, this->serverPort, this->ldapProtocolVersion, this->serverType, this->searchUser, this->searchPassword
* After return, this->connection and $this->bind are defined
* Connect and bind
* Use this->server, this->serverPort, this->ldapProtocolVersion, this->serverType, this->searchUser, this->searchPassword
* After return, this->connection and $this->bind are defined
*
* @return int if KO: <0 || if bind anonymous: 1 || if bind auth: 2
* @see connect_bind renamed
* @return int if KO: <0 || if bind anonymous: 1 || if bind auth: 2
*/
public function connectBind()
{
@ -805,11 +806,12 @@ class Ldap
}
/**
* Build an LDAP message
* Build an LDAP message
*
* @param string $dn DN entry key
* @param array $info Attributes array
* @return string Content of file
* @see dump_content renamed
* @param string $dn DN entry key
* @param array $info Attributes array
* @return string Content of file
*/
public function dumpContent($dn, $info)
{