mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 23:03:00 -04:00
CleanUp: tidy checking for empty profileScope
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Marc Hefter <marchefter@gmail.com>
This commit is contained in:
parent
44065c0fea
commit
2f76b7a3d5
1 changed files with 1 additions and 1 deletions
|
|
@ -247,7 +247,7 @@ class User {
|
|||
|
||||
//User profile visibility
|
||||
$profileScope = $this->connection->ldapProfileScope;
|
||||
if (is_null($profileScope) || '' === $profileScope || 'unset' === $profileScope) {
|
||||
if (empty($profileScope) || $profileScope === 'unset') {
|
||||
$profileScope = null;
|
||||
}
|
||||
//User Profile Field - Phone number
|
||||
|
|
|
|||
Loading…
Reference in a new issue