]> git.mxchange.org Git - friendica.git/commitdiff
Tests ...
authorMichael <heluecht@pirati.ca>
Fri, 11 Jun 2021 06:05:42 +0000 (06:05 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 11 Jun 2021 06:05:42 +0000 (06:05 +0000)
include/api.php

index 42b25a6c1be5a3d31e715505eec01d1616d9ec32..92230cc6119d711031c751ff5d2c62cbb431c666 100644 (file)
@@ -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();
        }