Test tests
This commit is contained in:
parent
3c0f22b2dd
commit
84661e9468
|
@ -599,7 +599,10 @@ function api_statuses_mediap($type)
|
||||||
{
|
{
|
||||||
$a = DI::app();
|
$a = DI::app();
|
||||||
|
|
||||||
|
if (empty(BaseApi::getCurrentUserID())) {
|
||||||
BaseApi::checkAllowedScope(BaseApi::SCOPE_WRITE);
|
BaseApi::checkAllowedScope(BaseApi::SCOPE_WRITE);
|
||||||
|
throw new ForbiddenException();
|
||||||
|
}
|
||||||
|
|
||||||
$user_info = DI::twitterUser()->createFromUserId(BaseApi::getCurrentUserID())->toArray();
|
$user_info = DI::twitterUser()->createFromUserId(BaseApi::getCurrentUserID())->toArray();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue