From 99213432f51aeb22d69a22886f72f5964a13e9c3 Mon Sep 17 00:00:00 2001
From: Johannes Meyer <johannes.meyer@netways.de>
Date: Mon, 4 May 2015 11:16:16 +0200
Subject: [PATCH] Ldap\Connection: Rename fetchDN() to fetchDn()

We're using CamelCase names for methods.
---
 library/Icinga/Protocol/Ldap/Connection.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/library/Icinga/Protocol/Ldap/Connection.php b/library/Icinga/Protocol/Ldap/Connection.php
index de7d7b628..f7567b6e7 100644
--- a/library/Icinga/Protocol/Ldap/Connection.php
+++ b/library/Icinga/Protocol/Ldap/Connection.php
@@ -204,7 +204,7 @@ class Connection implements Selectable
      * @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
      */
-    public function fetchDN(Query $query, $fields = array())
+    public function fetchDn(Query $query, $fields = array())
     {
         $rows = $this->fetchAll($query, $fields);
         if (count($rows) > 1) {