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