mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 22:04:25 +02:00
Ldap\Connection: Rename fetchDN() to fetchDn()
We're using CamelCase names for methods.
This commit is contained in:
parent
7178026b8b
commit
99213432f5
@ -204,7 +204,7 @@ class Connection implements Selectable
|
|||||||
* @return string Returns the distinguished name, or false when the given query yields no results
|
* @return string Returns the distinguished name, or false when the given query yields no results
|
||||||
* @throws LdapException When the query result is empty and contains no DN to fetch
|
* @throws LdapException When the query result is empty and contains no DN to fetch
|
||||||
*/
|
*/
|
||||||
public function fetchDN(Query $query, $fields = array())
|
public function fetchDn(Query $query, $fields = array())
|
||||||
{
|
{
|
||||||
$rows = $this->fetchAll($query, $fields);
|
$rows = $this->fetchAll($query, $fields);
|
||||||
if (count($rows) > 1) {
|
if (count($rows) > 1) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user