From 5960582dcf8e7584a526b6f86c1d36171f580fd8 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 11 Jun 2021 06:05:42 +0000 Subject: [PATCH] Tests ... --- include/api.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/api.php b/include/api.php index 42b25a6c1b..92230cc611 100644 --- a/include/api.php +++ b/include/api.php @@ -95,11 +95,6 @@ function api_user() return $user; } - $user = BasicAuth::getCurrentUserID(false); - if (!empty($user)) { - return $user; - } - if (!empty($_SESSION['allow_api'])) { return local_user(); }