summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-09-30 17:08:52 -0700
committerZach Copley <zach@status.net>2009-09-30 17:08:52 -0700
commit8b8e0c95af8efe656c3c7a67153117ba8128456e (patch)
tree1256f16667947299da5f934884e2de8d4764fa46 /actions
parenta3901e0e243d42fb75162a063c10b77fddd7dfe5 (diff)
Add route for /statuses/show
Diffstat (limited to 'actions')
-rw-r--r--actions/apishow.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/actions/apishow.php b/actions/apishow.php
index 3d0b7b6e3..d17cc8c95 100644
--- a/actions/apishow.php
+++ b/actions/apishow.php
@@ -83,7 +83,7 @@ class ApiShowAction extends TwitterapiAction
/**
* Handle the request
*
- * Just show the notices
+ * Check the format and show the notice
*
* @param array $args $_REQUEST data (unused)
*
@@ -103,7 +103,7 @@ class ApiShowAction extends TwitterapiAction
}
/**
- * Show the timeline of notices
+ * Show the notice
*
* @return void
*/
@@ -125,14 +125,14 @@ class ApiShowAction extends TwitterapiAction
if (!empty($deleted)) {
$this->clientError(
- _('Status deleted.'),
- 410,
+ _('Status deleted.'),
+ 410,
$this->format
);
} else {
$this->clientError(
_('No status with that ID found.'),
- 404,
+ 404,
$this->format
);
}