]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apihelptest.php
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
[quix0rs-gnu-social.git] / actions / apihelptest.php
index f2c459e6fd5ddc4db5c99d3dd434b2be143bbb1b..d0e9e4926f55ca85adfce968ef50a9feb9cb83f3 100644 (file)
@@ -85,12 +85,27 @@ class ApiHelpTestAction extends ApiPrivateAuthAction
             $this->endDocument('json');
         } else {
             $this->clientError(
-                _('API method not found!'),
+                _('API method not found.'),
                 404,
                 $this->format
             );
         }
     }
 
+    /**
+     * Return true if read only.
+     *
+     * MAY override
+     *
+     * @param array $args other arguments
+     *
+     * @return boolean is read only action?
+     */
+
+    function isReadOnly($args)
+    {
+        return true;
+    }
+
 }