]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apitimelineretweetedtome.php
retweet API methods are readonly
[quix0rs-gnu-social.git] / actions / apitimelineretweetedtome.php
index 681b0b9e9ed8e67d5d20dda76718925244f54ad1..e47bc30b854cb9a93e69cd2d229186668a5964e4 100644 (file)
@@ -118,8 +118,23 @@ class ApiTimelineRetweetedToMeAction extends ApiAuthAction
             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;
+    }
 }