diff options
author | Evan Prodromou <evan@status.net> | 2009-10-31 12:16:30 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2009-10-31 12:16:30 -0400 |
commit | 5e27d53947ff64c8aee1b2287e1c77bbeaea51f7 (patch) | |
tree | baf10735ebc98827820844e8ec9d616061ab645b /actions/twitapistatuses.php | |
parent | 65a3ccd4587193bba72501837fab097e041f96d3 (diff) | |
parent | dcca9fbec0cea9c5e15c4d58a8e9870514dfdbdd (diff) |
Merge branch '0.8.x' into testing
Diffstat (limited to 'actions/twitapistatuses.php')
-rw-r--r-- | actions/twitapistatuses.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/actions/twitapistatuses.php b/actions/twitapistatuses.php index 360dff27c..b0d3e584b 100644 --- a/actions/twitapistatuses.php +++ b/actions/twitapistatuses.php @@ -236,11 +236,8 @@ class TwitapistatusesAction extends TwitterapiAction } if (empty($status)) { - - // XXX: Note: In this case, Twitter simply returns '200 OK' - // No error is given, but the status is not posted to the - // user's timeline. Seems bad. Shouldn't we throw an - // errror? -- Zach + $this->clientError(_('Client must provide a \'status\' parameter with a value.'), + $code = 403, $apidata['content-type']); return; } else { |