]> source.dussan.org Git - nextcloud-server.git/commitdiff
Spelling fixes
authorBart Visscher <bartv@thisnet.nl>
Fri, 22 Jun 2012 20:57:35 +0000 (22:57 +0200)
committerBart Visscher <bartv@thisnet.nl>
Fri, 22 Jun 2012 20:57:35 +0000 (22:57 +0200)
apps/user_ldap/lib_ldap.php

index a03ca0d4cf0af484f9ed2d90d560c410cb67c8c4..c88b18b10d374df5830879acd6db8ef0ea76b6e6 100644 (file)
@@ -472,14 +472,13 @@ class OC_LDAP {
                        $attr = array(strtolower($attr));
                }
 
-               // See if we have a resource, that way we can get rid of the
-               // error-supressing.
+               // See if we have a resource
                $link_resource = self::getConnectionResource();
                if($link_resource)
                {
                        $sr = ldap_search($link_resource, $base, $filter, $attr);
                        $findings = ldap_get_entries($link_resource, $sr );
-                       // if we're here, probably no connection ressource is returned.
+                       // if we're here, probably no connection resource is returned.
                        // to make ownCloud behave nicely, we simply give back an empty array.
                        if(is_null($findings)) {
                                return array();