diff options
author | Evan Prodromou <evan@status.net> | 2009-09-29 17:25:52 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2009-09-29 17:25:52 -0400 |
commit | 89ac81c34464b2fc4f54b643d0d95d12bac765ab (patch) | |
tree | 4e3277cb5ad9d93a61262f004a82efc14eaf7d30 /actions/twitapistatuses.php | |
parent | 0a57d1ccee1af8570d4c83934d9ab99fa1a1dc37 (diff) |
remove string-checks from code using Notice::saveNew()
Diffstat (limited to 'actions/twitapistatuses.php')
-rw-r--r-- | actions/twitapistatuses.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/actions/twitapistatuses.php b/actions/twitapistatuses.php index 2f10ff966..87043b182 100644 --- a/actions/twitapistatuses.php +++ b/actions/twitapistatuses.php @@ -297,11 +297,6 @@ class TwitapistatusesAction extends TwitterapiAction html_entity_decode($status, ENT_NOQUOTES, 'UTF-8'), $source, 1, $reply_to); - if (is_string($notice)) { - $this->serverError($notice); - return; - } - common_broadcast_notice($notice); $apidata['api_arg'] = $notice->id; } |