]> git.mxchange.org Git - friendica.git/commitdiff
Login hasn't got a return value
authorMichael <heluecht@pirati.ca>
Tue, 8 Jun 2021 09:51:17 +0000 (09:51 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 8 Jun 2021 09:51:17 +0000 (09:51 +0000)
src/Module/Api/Twitter/ContactEndpoint.php

index d18b485b8b2c24a92f09d907d8af37c824999399..b184aa53f49789fcaac47963826d5c090b4c84e9 100644 (file)
@@ -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);
        }
 
        /**