diff options
author | Zach Copley <zach@status.net> | 2010-10-20 17:28:28 -0700 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-10-20 17:28:28 -0700 |
commit | bfdb8385ecc745002b8c45510caf2fdf7c2d2c9f (patch) | |
tree | 392196b097fafb10430bb7db763fd744a0639bf3 /lib/apiauth.php | |
parent | e56385a7bb25336a72c1d37ad43d51ba8e238231 (diff) | |
parent | 31f52ec37c5a2be76c197a9c492d3a236af045cd (diff) |
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
Conflicts:
actions/apioauthauthorize.php
lib/apioauthstore.php
Diffstat (limited to 'lib/apiauth.php')
-rw-r--r-- | lib/apiauth.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/apiauth.php b/lib/apiauth.php index 0ebd7aa10..1dacf1409 100644 --- a/lib/apiauth.php +++ b/lib/apiauth.php @@ -263,7 +263,7 @@ class ApiAuthAction extends ApiAction // show error if the user clicks 'cancel' // TRANS: Client error thrown when authentication fails becaus a user clicked "Cancel". - $this->clientError(_("Could not authenticate you."), 401, $this->format); + $this->clientError(_('Could not authenticate you.'), 401, $this->format); exit; } else { @@ -290,7 +290,7 @@ class ApiAuthAction extends ApiAction ); $this->logAuthFailure($msg); // TRANS: Client error thrown when authentication fails. - $this->clientError(_("Could not authenticate you."), 401, $this->format); + $this->clientError(_('Could not authenticate you.'), 401, $this->format); exit; } } @@ -342,7 +342,6 @@ class ApiAuthAction extends ApiAction * * @param string $logMsg additional log message */ - function logAuthFailure($logMsg) { list($proxy, $ip) = common_client_ip(); |