Testing tests again
This commit is contained in:
parent
84661e9468
commit
a312940a21
|
@ -600,10 +600,11 @@ function api_statuses_mediap($type)
|
||||||
$a = DI::app();
|
$a = DI::app();
|
||||||
|
|
||||||
if (empty(BaseApi::getCurrentUserID())) {
|
if (empty(BaseApi::getCurrentUserID())) {
|
||||||
BaseApi::checkAllowedScope(BaseApi::SCOPE_WRITE);
|
|
||||||
throw new ForbiddenException();
|
throw new ForbiddenException();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BaseApi::checkAllowedScope(BaseApi::SCOPE_WRITE);
|
||||||
|
|
||||||
$user_info = DI::twitterUser()->createFromUserId(BaseApi::getCurrentUserID())->toArray();
|
$user_info = DI::twitterUser()->createFromUserId(BaseApi::getCurrentUserID())->toArray();
|
||||||
|
|
||||||
$_REQUEST['profile_uid'] = BaseApi::getCurrentUserID();
|
$_REQUEST['profile_uid'] = BaseApi::getCurrentUserID();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user