]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apistatusesretweets.php
Added an option to TinyMCE plugin to restrict the rich-text editor to users who have...
[quix0rs-gnu-social.git] / actions / apistatusesretweets.php
index 2efd59b37f9b75420f2514cc25e3e354987a50e6..a79d43168ed49829c1647feceeafa6426049d7e5 100644 (file)
@@ -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;
+    }
 }