Return empty array when no subscriptions to remote

This commit is contained in:
Evan Prodromou 2010-03-01 14:17:25 -05:00
parent 320036dbfb
commit c3ba26bb99

View File

@ -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_Providers action methods, there /* Since we do not use OMB_Service_Providers action methods, there