From: Michael Date: Tue, 8 Jun 2021 09:51:17 +0000 (+0000) Subject: Login hasn't got a return value X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5853fe562d3f3362c93c026fad579aa5cc3e193e;p=friendica.git Login hasn't got a return value --- diff --git a/src/Module/Api/Twitter/ContactEndpoint.php b/src/Module/Api/Twitter/ContactEndpoint.php index d18b485b8b..b184aa53f4 100644 --- a/src/Module/Api/Twitter/ContactEndpoint.php +++ b/src/Module/Api/Twitter/ContactEndpoint.php @@ -39,9 +39,7 @@ abstract class ContactEndpoint extends BaseApi { parent::init($parameters); - if (!self::login(self::SCOPE_READ)) { - throw new HTTPException\UnauthorizedException(); - } + self::login(self::SCOPE_READ); } /**