aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2014-11-20 18:03:47 +0100
committerArthur Schiwon <blizzz@owncloud.com>2014-11-20 18:31:40 +0100
commit6b6147dafd19965856b650cafe321c7347831992 (patch)
tree42830e4712a0f8aca2ec6b370b950afddee3274f /apps/user_ldap
parent031d6c179f289140888ac4fb5fae698ee5bc37f3 (diff)
downloadnextcloud-server-6b6147dafd19965856b650cafe321c7347831992.tar.gz
nextcloud-server-6b6147dafd19965856b650cafe321c7347831992.zip
phpdoc and mixed up letters
Diffstat (limited to 'apps/user_ldap')
-rw-r--r--apps/user_ldap/lib/access.php1
-rw-r--r--apps/user_ldap/lib/wizard.php3
2 files changed, 3 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/access.php b/apps/user_ldap/lib/access.php
index 3a118891f40..a0ec64b3f60 100644
--- a/apps/user_ldap/lib/access.php
+++ b/apps/user_ldap/lib/access.php
@@ -1171,6 +1171,7 @@ class Access extends LDAPUtility implements user\IUserTools {
/**
* returns the filter used for counting users
+ * @return string
*/
public function getFilterForUserCount() {
$filter = $this->combineFilterWithAnd(array(
diff --git a/apps/user_ldap/lib/wizard.php b/apps/user_ldap/lib/wizard.php
index 2f8d97c89da..578a920f00e 100644
--- a/apps/user_ldap/lib/wizard.php
+++ b/apps/user_ldap/lib/wizard.php
@@ -158,6 +158,7 @@ class Wizard extends LDAPUtility {
* detects the display name attribute. If a setting is already present that
* returns at least one hit, the detection will be canceled.
* @return WizardResult|bool
+ * @throws \Exception
*/
public function detectUserDisplayNameAttribute() {
if(!$this->checkRequirements(array('ldapHost',
@@ -192,7 +193,7 @@ class Wizard extends LDAPUtility {
}
};
- throw new \Exception(self::$t->l('Could not detect user display name attribute. Please specify it yourself in advanced ldap settings.'));
+ throw new \Exception(self::$l->t('Could not detect user display name attribute. Please specify it yourself in advanced ldap settings.'));
}
/**