summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-09-19 18:34:07 -0700
committerZach Copley <zach@status.net>2009-09-19 18:34:07 -0700
commit74296fa12c7813ad5cdc80750173c11912b5860f (patch)
tree33616b5c232aba05fa1d6541f18beccd4250e477 /actions
parent61121c192a30abdb33ac98cca9962942645df58e (diff)
Make statuses/home_timeline return the same thing as statuses/friends_timeline to support apps trying to use the new retweet API method.
Diffstat (limited to 'actions')
-rw-r--r--actions/twitapistatuses.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/actions/twitapistatuses.php b/actions/twitapistatuses.php
index edee239a0..5e2867ea8 100644
--- a/actions/twitapistatuses.php
+++ b/actions/twitapistatuses.php
@@ -136,6 +136,11 @@ class TwitapistatusesAction extends TwitterapiAction
}
+ function home_timeline($args, $apidata)
+ {
+ call_user_func(array($this, 'friends_timeline'), $args, $apidata);
+ }
+
function user_timeline($args, $apidata)
{
parent::handle($args);