summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-10-12 16:19:53 -0700
committerZach Copley <zach@status.net>2010-10-12 16:19:53 -0700
commitd8e06e66e9d4e3312f8d645a13680dc8046ca3a2 (patch)
tree5053db7da61746bf6b794a464393104ecf9aef7b /actions
parenta77bc113269e88d264075d331570dccf662b9640 (diff)
Print a proper error message
Diffstat (limited to 'actions')
-rw-r--r--actions/apioauthaccesstoken.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/apioauthaccesstoken.php b/actions/apioauthaccesstoken.php
index b8b188b1d..663a7a2bb 100644
--- a/actions/apioauthaccesstoken.php
+++ b/actions/apioauthaccesstoken.php
@@ -105,7 +105,7 @@ class ApiOauthAccessTokenAction extends ApiOauthAction
common_log(LOG_WARNING, $msg);
- print "Invalid request token or verifier.";
+ $this->clientError(_("Invalid request token or verifier.", 400, 'text'));
} else {
$this->showAccessToken($atok);