summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorzach <zach@copley.name>2008-07-15 19:41:31 -0400
committerzach <zach@copley.name>2008-07-15 19:41:31 -0400
commit110ce8c811fb6f48e17b5bd78eaa0741a26e55a5 (patch)
tree863a31394e83335c38886cc5aef830c6558deacb /actions
parent846a1a4106aa026b2321a80474e4a065eb060de5 (diff)
Twitter-compatible API: refactor in prep for json, rss, and atom formats
darcs-hash:20080715234131-ca946-8c277e9f5980953b5037af40db38c0546222304d.gz
Diffstat (limited to 'actions')
-rw-r--r--actions/twitapistatuses.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/actions/twitapistatuses.php b/actions/twitapistatuses.php
index d18543e04..bb30049ee 100644
--- a/actions/twitapistatuses.php
+++ b/actions/twitapistatuses.php
@@ -56,7 +56,8 @@ class TwitapistatusesAction extends TwitterapiAction {
common_element_start('statuses', array('type' => 'array'));
for ($i = 0; $i < 20; $i++) {
if ($notice->fetch()) {
- $this->render_xml_status($notice);
+ $twitter_status = $this->twitter_status_array($notice);
+ $this->render_twitter_xml_status($twitter_status);
} else {
// shouldn't happen!
break;