summaryrefslogtreecommitdiff
path: root/lib/oauthstore.php
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 18:03:17 -0500
commitc3ba26bb9955ae5d924426dc0e4ff6c48b4399ad (patch)
tree2fbd3757062a064bd8799aec5c68ac95834be795 /lib/oauthstore.php
parent320036dbfbd1d4b2b1e866aafb5da26330cc1e21 (diff)
Return empty array when no subscriptions to remote
Diffstat (limited to 'lib/oauthstore.php')
-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