From ad99a0ee826687b9213b474445b7e17c09f45d29 Mon Sep 17 00:00:00 2001 From: Pierre Ozoux Date: Mon, 2 May 2022 14:44:21 +0200 Subject: [PATCH] Removes unecessary code. --- lib/Controller/UserController.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/Controller/UserController.php b/lib/Controller/UserController.php index 69498a4..f760837 100644 --- a/lib/Controller/UserController.php +++ b/lib/Controller/UserController.php @@ -120,10 +120,6 @@ class UserController extends ASCIMUser { // Do not insert empty entry if (!empty($SCIMUser)) { $SCIMUsers[] = $SCIMUser; - } else { - // Logged user does not have permissions to see this user - // only showing its id - $SCIMUsers[$userId] = ['id' => $userId]; } }