summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2012-07-25 13:13:01 +0200
committerArthur Schiwon <blizzz@owncloud.com>2012-07-25 13:13:01 +0200
commit15f7d838fa9cafe536ba638e42dd7008457fbff9 (patch)
tree83b4778c839a6ca11fd74f8929dee3b957ac5105 /apps/user_ldap
parent569e52b87cb1f7c709f3aad4537350a1c71c79f3 (diff)
downloadnextcloud-server-15f7d838fa9cafe536ba638e42dd7008457fbff9.tar.gz
nextcloud-server-15f7d838fa9cafe536ba638e42dd7008457fbff9.zip
code style
Diffstat (limited to 'apps/user_ldap')
-rw-r--r--apps/user_ldap/user_ldap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/user_ldap.php b/apps/user_ldap/user_ldap.php
index dffed5ded98..a4a8921d08d 100644
--- a/apps/user_ldap/user_ldap.php
+++ b/apps/user_ldap/user_ldap.php
@@ -57,7 +57,7 @@ class USER_LDAP extends lib\Access implements \OCP\UserInterface {
if($aEmail && (count($aEmail) > 0)) {
$email = $aEmail[0];
}
- if(!is_null($email)){
+ if(!is_null($email)) {
\OCP\Config::setUserValue($this->dn2username($dn), 'settings', 'email', $email);
}
}