]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apitimelineretweetsofme.php
Confirm dialog for reset OAuth consumer key and secret button
[quix0rs-gnu-social.git] / actions / apitimelineretweetsofme.php
index 479bff431589b51d2e38dccc34e9b1ee1f84901e..e4b09e9bdaf334b860022482d5d1e0bac6b41bd9 100644 (file)
@@ -119,8 +119,23 @@ class ApiTimelineRetweetsOfMeAction 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;
+    }
 }