X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fgeocode.php;h=9e208914c16ca088cf63cd7f08c43e07eb83cefc;hb=95d415257a43d5d4338ce22089463c1820b6bf8b;hp=d934930608fa448a0d73ffbe554737c41d78f7f9;hpb=83c2e0b379a8a6a81c211ed5c4d837e047f919f7;p=quix0rs-gnu-social.git diff --git a/actions/geocode.php b/actions/geocode.php index d934930608..9e208914c1 100644 --- a/actions/geocode.php +++ b/actions/geocode.php @@ -52,6 +52,7 @@ class GeocodeAction extends Action parent::prepare($args); $token = $this->trimmed('token'); if (!$token || $token != common_session_token()) { + // TRANS: Client error displayed when the session token does not match or is not given. $this->clientError(_('There was a problem with your session token. '. 'Try again, please.')); } @@ -68,7 +69,7 @@ class GeocodeAction extends Action * * @return nothing * - **/ + */ function handle($args) { header('Content-Type: application/json; charset=utf-8'); @@ -89,7 +90,6 @@ class GeocodeAction extends Action * * @return boolean true */ - function isReadOnly($args) { return true;