forked from GNUsocial/gnu-social
Return empty array when no subscriptions to remote
This commit is contained in:
parent
6f20b74dc7
commit
ef54702008
@ -390,7 +390,7 @@ class StatusNetOAuthDataStore extends OAuthDataStore
|
|||||||
$sub->subscribed = $user->id;
|
$sub->subscribed = $user->id;
|
||||||
|
|
||||||
if (!$sub->find(true)) {
|
if (!$sub->find(true)) {
|
||||||
return 0;
|
return array();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Since we do not use OMB_Service_Provider’s action methods, there
|
/* Since we do not use OMB_Service_Provider’s action methods, there
|
||||||
|
Loading…
x
Reference in New Issue
Block a user