]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apistatusnetversion.php
Merge branch '0.9.x' into 1.0.x
[quix0rs-gnu-social.git] / actions / apistatusnetversion.php
index bbf891a899847d0bdbc8ba224deefaabea47ce4d..d0948075978210c76a8816fa7b68af9b45090e1a 100644 (file)
@@ -90,7 +90,7 @@ class ApiStatusnetVersionAction extends ApiPrivateAuthAction
             break;
         default:
             $this->clientError(
-                _('API method not found!'),
+                _('API method not found.'),
                 404,
                 $this->format
             );
@@ -98,5 +98,20 @@ class ApiStatusnetVersionAction extends ApiPrivateAuthAction
         }
     }
 
+    /**
+     * Return true if read only.
+     *
+     * MAY override
+     *
+     * @param array $args other arguments
+     *
+     * @return boolean is read only action?
+     */
+
+    function isReadOnly($args)
+    {
+        return true;
+    }
+
 }