diff options
Diffstat (limited to 'apps/user_ldap/user_ldap.php')
-rw-r--r-- | apps/user_ldap/user_ldap.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/user_ldap/user_ldap.php b/apps/user_ldap/user_ldap.php index 3521a9d90cf..1e8dc6aacce 100644 --- a/apps/user_ldap/user_ldap.php +++ b/apps/user_ldap/user_ldap.php @@ -94,10 +94,6 @@ class OC_USER_LDAP extends OC_User_Backend { if( !$this->ldap_dc ) return false; - $email = OC_Preferences::getValue($uid, 'settings', 'email', ''); - if ( !empty( $email ) ) - return false; - $email = $this->ldap_dc[$this->ldap_email_attr][0]; OC_Preferences::setValue($uid, 'settings', 'email', $email); } |