summaryrefslogtreecommitdiff
path: root/actions/twitapifriendships.php
diff options
context:
space:
mode:
authorAdrian Lang <mail@adrianlang.de>2009-04-20 13:09:05 +0200
committerAdrian Lang <mail@adrianlang.de>2009-04-20 13:09:05 +0200
commit0dd90461cdc7aad26b6f855ca7f63988a4a74d74 (patch)
treea7b295ac9307484f6f4dec3f3b1697d177127b90 /actions/twitapifriendships.php
parent558fa2743e182e50efb8aa1ad3fbc756ca1665e7 (diff)
parent48846c38057b20bb51814c22456d6907cc2a99e8 (diff)
Merge branch '0.7.x' of git://gitorious.org/laconica/mgrdcm-twitapibools into review/master
Diffstat (limited to 'actions/twitapifriendships.php')
-rw-r--r--actions/twitapifriendships.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/actions/twitapifriendships.php b/actions/twitapifriendships.php
index c50c5e84a..2f8250e0d 100644
--- a/actions/twitapifriendships.php
+++ b/actions/twitapifriendships.php
@@ -133,11 +133,7 @@ class TwitapifriendshipsAction extends TwitterapiAction
return;
}
- if ($user_a->isSubscribed($user_b)) {
- $result = 'true';
- } else {
- $result = 'false';
- }
+ $result = $user_a->isSubscribed($user_b);
switch ($apidata['content-type']) {
case 'xml':