summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-06-22 22:57:35 +0200
committerBart Visscher <bartv@thisnet.nl>2012-06-22 22:57:35 +0200
commitded9ea5ad3fd46516ca9ea7849dbdfbe753a1dc5 (patch)
treeac285e62d8de0845c6fb440abd7fc4cb45b52fdc /apps
parentea3a6d9fcf37d1b6653d0a93895a76326746f84a (diff)
downloadnextcloud-server-ded9ea5ad3fd46516ca9ea7849dbdfbe753a1dc5.tar.gz
nextcloud-server-ded9ea5ad3fd46516ca9ea7849dbdfbe753a1dc5.zip
Spelling fixes
Diffstat (limited to 'apps')
-rw-r--r--apps/user_ldap/lib_ldap.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/user_ldap/lib_ldap.php b/apps/user_ldap/lib_ldap.php
index a03ca0d4cf0..c88b18b10d3 100644
--- a/apps/user_ldap/lib_ldap.php
+++ b/apps/user_ldap/lib_ldap.php
@@ -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();