]> source.dussan.org Git - nextcloud-server.git/commitdiff
phpdoc and mixed up letters
authorArthur Schiwon <blizzz@owncloud.com>
Thu, 20 Nov 2014 17:03:47 +0000 (18:03 +0100)
committerArthur Schiwon <blizzz@owncloud.com>
Thu, 20 Nov 2014 17:31:40 +0000 (18:31 +0100)
apps/user_ldap/lib/access.php
apps/user_ldap/lib/wizard.php

index 3a118891f4053bd0b63ec80c068d34a6c40da8f9..a0ec64b3f605644bea41f4c64cd4e18af4c345f4 100644 (file)
@@ -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(
index 2f8d97c89da9dd9ad73e0c52205586cfbeee99d9..578a920f00ec2fcaedad3cde85586bf48b6d2118 100644 (file)
@@ -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.'));
        }
 
        /**