]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Return empty array when no subscriptions to remote
authorEvan Prodromou <evan@status.net>
Mon, 1 Mar 2010 19:17:25 +0000 (14:17 -0500)
committerEvan Prodromou <evan@status.net>
Mon, 1 Mar 2010 19:17:25 +0000 (14:17 -0500)
lib/oauthstore.php

index eabe37f9fa4a944d76f99c91c9a57de69c6c0f23..a6a6de7505c946bbdd0a24b7760dea3ff8abb940 100644 (file)
@@ -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