diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-05-11 17:53:23 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-05-11 17:53:23 -0400 |
commit | 99f8501d321ae9d8087abbe6523e28ce5fd095d3 (patch) | |
tree | fb721b4360f0748df3cb3b522565ad4566422555 /actions/twitapifriendships.php | |
parent | 7f0e57598a5837bbb87f197baa147be29c7df531 (diff) | |
parent | 251fd2c232d96ea09db971a6608231c679395c01 (diff) |
Merge branch '0.8.x' of git@gitorious.org:laconica/dev into 0.8.x
Conflicts:
config.php.sample
Diffstat (limited to 'actions/twitapifriendships.php')
-rw-r--r-- | actions/twitapifriendships.php | 6 |
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': |