]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/geocode.php
Suggested edits by hannes2peer
[quix0rs-gnu-social.git] / actions / geocode.php
index e883c6ce4162950a4d0b0e23842cb78bbe015741..9e208914c16ca088cf63cd7f08c43e07eb83cefc 100644 (file)
@@ -37,6 +37,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
  * @category Action
  * @package  StatusNet
  * @author   Craig Andrews <candrews@integralblue.com>
+ * @copyright 2009 Free Software Foundation, Inc http://www.fsf.org
  * @license  http://www.fsf.org/licensing/licenses/agpl.html AGPLv3
  * @link     http://status.net/
  */
@@ -51,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.'));
         }
@@ -67,7 +69,7 @@ class GeocodeAction extends Action
      *
      * @return nothing
      *
-     **/
+     */
     function handle($args)
     {
         header('Content-Type: application/json; charset=utf-8');
@@ -88,7 +90,6 @@ class GeocodeAction extends Action
      *
      * @return boolean true
      */
-
     function isReadOnly($args)
     {
         return true;