From: Michael Date: Fri, 11 Jun 2021 06:05:42 +0000 (+0000) Subject: Tests ... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5960582dcf8e7584a526b6f86c1d36171f580fd8;p=friendica.git Tests ... --- 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(); }