diff options
author | Zach Copley <zach@status.net> | 2010-01-27 08:45:56 +0000 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-01-27 08:45:56 +0000 |
commit | 756da7bc5174f58f714c858f0100f04b3561a250 (patch) | |
tree | 1c917175f9db188b751591da60e89b4adaf76e96 /actions/apioauthrequesttoken.php | |
parent | 923b7de3c661098cfe3d5bdc0878d9329e1ee2bf (diff) |
s/LOG_WARN/LOG_WARNING/
Diffstat (limited to 'actions/apioauthrequesttoken.php')
-rw-r--r-- | actions/apioauthrequesttoken.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/apioauthrequesttoken.php b/actions/apioauthrequesttoken.php index 467640b9a..4fa626d86 100644 --- a/actions/apioauthrequesttoken.php +++ b/actions/apioauthrequesttoken.php @@ -89,7 +89,7 @@ class ApiOauthRequestTokenAction extends ApiOauthAction $token = $server->fetch_request_token($req); print $token; } catch (OAuthException $e) { - common_log(LOG_WARN, 'API OAuthException - ' . $e->getMessage()); + common_log(LOG_WARNING, 'API OAuthException - ' . $e->getMessage()); header('HTTP/1.1 401 Unauthorized'); header('Content-Type: text/html; charset=utf-8'); print $e->getMessage() . "\n"; |