diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2014-06-25 18:01:04 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2014-08-29 11:14:35 +0200 |
commit | f47a4a8c158f538d5febedec7282f576360a4d02 (patch) | |
tree | 1a7f2b980b8c396ba9bdf44e158991eec0ef9c74 /apps/user_ldap/lib/wizard.php | |
parent | 441c600c906a2ec55bdab123840be5d1d63bb679 (diff) | |
download | nextcloud-server-f47a4a8c158f538d5febedec7282f576360a4d02.tar.gz nextcloud-server-f47a4a8c158f538d5febedec7282f576360a4d02.zip |
add unit test for mail detection
Diffstat (limited to 'apps/user_ldap/lib/wizard.php')
-rw-r--r-- | apps/user_ldap/lib/wizard.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/wizard.php b/apps/user_ldap/lib/wizard.php index 25dc4598ffb..36b855e83f6 100644 --- a/apps/user_ldap/lib/wizard.php +++ b/apps/user_ldap/lib/wizard.php @@ -155,7 +155,7 @@ class Wizard extends LDAPUtility { * detects the most often used email attribute for users applying to the * user list filter. If a setting is already present that returns at least * one hit, the detection will be canceled. - * @return bool + * @return bool|string */ public function detectEmailAttribute() { if(!$this->checkRequirements(array('ldapHost', @@ -189,6 +189,7 @@ class Wizard extends LDAPUtility { $this->result->addChange('ldap_email_attr', $winner); } + return $winner; } /** |