mirror of
https://github.com/friendica/friendica
synced 2024-05-22 17:24:59 +02:00
Login hasn't got a return value
This commit is contained in:
parent
9720ee2c20
commit
5853fe562d
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue