]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apistatusesretweets.php
add lat, lon, location and remove closing tag from geocode.php
[quix0rs-gnu-social.git] / actions / apistatusesretweets.php
index c54a374e28838427138ea079badf91fbee6e5655..a79d43168ed49829c1647feceeafa6426049d7e5 100644 (file)
@@ -69,7 +69,7 @@ class ApiStatusesRetweetsAction extends ApiAuthAction
         $this->original = Notice::staticGet('id', $id);
 
         if (empty($this->original)) {
-            $this->clientError(_('No such notice'),
+            $this->clientError(_('No such notice.'),
                                400, $this->format);
             return false;
         }
@@ -109,8 +109,23 @@ class ApiStatusesRetweetsAction extends ApiAuthAction
             $this->showJsonTimeline($strm);
             break;
         default:
-            $this->clientError(_('API method not found!'), $code = 404);
+            $this->clientError(_('API method not found.'), $code = 404);
             break;
         }
     }
+
+    /**
+     * Return true if read only.
+     *
+     * MAY override
+     *
+     * @param array $args other arguments
+     *
+     * @return boolean is read only action?
+     */
+
+    function isReadOnly($args)
+    {
+        return true;
+    }
 }