]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/geocode.php
Merge branch 'nightly' into 'nightly'
[quix0rs-gnu-social.git] / actions / geocode.php
index d934930608fa448a0d73ffbe554737c41d78f7f9..9e208914c16ca088cf63cd7f08c43e07eb83cefc 100644 (file)
@@ -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;