mirror of
https://github.com/friendica/friendica
synced 2024-11-18 17:03:41 +00:00
Testing tests again
This commit is contained in:
parent
84661e9468
commit
a312940a21
1 changed files with 6 additions and 5 deletions
|
@ -600,10 +600,11 @@ function api_statuses_mediap($type)
|
|||
$a = DI::app();
|
||||
|
||||
if (empty(BaseApi::getCurrentUserID())) {
|
||||
BaseApi::checkAllowedScope(BaseApi::SCOPE_WRITE);
|
||||
throw new ForbiddenException();
|
||||
}
|
||||
|
||||
BaseApi::checkAllowedScope(BaseApi::SCOPE_WRITE);
|
||||
|
||||
$user_info = DI::twitterUser()->createFromUserId(BaseApi::getCurrentUserID())->toArray();
|
||||
|
||||
$_REQUEST['profile_uid'] = BaseApi::getCurrentUserID();
|
||||
|
|
Loading…
Reference in a new issue