Removes unecessary code.
This commit is contained in:
parent
d604ca685a
commit
ad99a0ee82
1 changed files with 0 additions and 4 deletions
|
@ -120,10 +120,6 @@ class UserController extends ASCIMUser {
|
||||||
// Do not insert empty entry
|
// Do not insert empty entry
|
||||||
if (!empty($SCIMUser)) {
|
if (!empty($SCIMUser)) {
|
||||||
$SCIMUsers[] = $SCIMUser;
|
$SCIMUsers[] = $SCIMUser;
|
||||||
} else {
|
|
||||||
// Logged user does not have permissions to see this user
|
|
||||||
// only showing its id
|
|
||||||
$SCIMUsers[$userId] = ['id' => $userId];
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue