diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-04-02 15:05:37 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-04-22 23:40:36 +0200 |
commit | 69ae83eca76934ac1a5a3845b417177151b4a690 (patch) | |
tree | bbdd095d13950a694a3c64d65a05ca313a1f52ba | |
parent | ac062bd0aad015b14f3b1f053f7f16bb14c74b5a (diff) | |
download | nextcloud-server-69ae83eca76934ac1a5a3845b417177151b4a690.tar.gz nextcloud-server-69ae83eca76934ac1a5a3845b417177151b4a690.zip |
fix typo and comment
-rw-r--r-- | apps/user_ldap/lib/connection.php | 4 | ||||
-rw-r--r-- | apps/user_ldap/lib/user/manager.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/user_ldap/lib/connection.php b/apps/user_ldap/lib/connection.php index 22267f3f401..6a936b43df0 100644 --- a/apps/user_ldap/lib/connection.php +++ b/apps/user_ldap/lib/connection.php @@ -48,7 +48,7 @@ class Connection extends LDAPUtility { //cache handler protected $cache; - //settings handler + /** @var Configuration settings handler **/ protected $configuration; protected $doNotValidate = false; @@ -161,7 +161,7 @@ class Connection extends LDAPUtility { $this->establishConnection(); } if(is_null($this->ldapConnectionRes)) { - \OCP\Util::writeLog('user_ldap', 'No LDAP Connection to server ' . $this->connection->ldapHost, \OCP\Util::ERROR); + \OCP\Util::writeLog('user_ldap', 'No LDAP Connection to server ' . $this->configuration->ldapHost, \OCP\Util::ERROR); throw new ServerNotAvailableException('Connection to LDAP server could not be established'); } return $this->ldapConnectionRes; diff --git a/apps/user_ldap/lib/user/manager.php b/apps/user_ldap/lib/user/manager.php index 3645d3d78cb..79b95818276 100644 --- a/apps/user_ldap/lib/user/manager.php +++ b/apps/user_ldap/lib/user/manager.php @@ -169,7 +169,7 @@ class Manager { /** * @brief returns a User object by it's DN or ownCloud username - * @param string the username of the user + * @param string the DN or username of the user * @return \OCA\user_ldap\lib\user\User|\OCA\user_ldap\lib\user\OfflineUser|null * @throws \Exception when connection could not be established */ |