Removes unecessary code.

This commit is contained in:
Pierre Ozoux 2022-05-02 14:44:21 +02:00
parent d604ca685a
commit ad99a0ee82

View file

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