summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-03-01 14:17:25 -0500
committerEvan Prodromou <evan@status.net>2010-03-01 14:17:25 -0500
commitef54702008143568afa77c1dda86da530a321d0f (patch)
treeb1ce4a74c83d84d551d12d18a6108149172bc377
parent6f20b74dc7b3b69365bf8de7ba0652177e570437 (diff)
Return empty array when no subscriptions to remote
-rw-r--r--lib/oauthstore.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oauthstore.php b/lib/oauthstore.php
index eabe37f9f..a6a6de750 100644
--- a/lib/oauthstore.php
+++ b/lib/oauthstore.php
@@ -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