summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzach <zach@copley.name>2008-07-21 13:44:38 -0400
committerzach <zach@copley.name>2008-07-21 13:44:38 -0400
commit80facfa16dfdab11135e6e79f5cea916ca0b0959 (patch)
tree1b30fadb87f2f5ffdf5496edf379e72b5e4e8eaf
parente304f42b4793e03f152a1fd591fb222a9c8cc984 (diff)
Twitter-compatible API - location_update was spitting out the wrong profile. Fixed.
darcs-hash:20080721174438-ca946-1f1ddc79f8117561e98a17b143714f5daae1283e.gz
-rw-r--r--actions/twitapiaccount.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/actions/twitapiaccount.php b/actions/twitapiaccount.php
index 3a66e8885..f337a5450 100644
--- a/actions/twitapiaccount.php
+++ b/actions/twitapiaccount.php
@@ -80,9 +80,11 @@ class TwitapiaccountAction extends TwitterapiAction {
}
common_broadcast_profile($profile);
+ $type = $apidata['content-type'];
- $apidata['api_arg'] = $user->id;
- $this->show($args, $apidata);
+ $this->init_document($type);
+ $this->show_profile($profile, $type);
+ $this->end_document($type);
exit();
}