code style

This commit is contained in:
Arthur Schiwon 2012-07-25 13:13:01 +02:00
parent 569e52b87c
commit 15f7d838fa
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}