]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apistatusnetconfig.php
Notice::saveNew() accepts url and rendered options
[quix0rs-gnu-social.git] / actions / apistatusnetconfig.php
index ed1d151bfcfc5856a1f99832d91b3d79eaad6cef..dc1ab8685b8a05dee7db140b0b0e3920b0c8e26a 100644 (file)
@@ -130,7 +130,7 @@ class ApiStatusnetConfigAction extends ApiAction
             break;
         default:
             $this->clientError(
-                _('API method not found!'),
+                _('API method not found.'),
                 404,
                 $this->format
             );
@@ -138,5 +138,20 @@ class ApiStatusnetConfigAction extends ApiAction
         }
     }
 
+    /**
+     * Return true if read only.
+     *
+     * MAY override
+     *
+     * @param array $args other arguments
+     *
+     * @return boolean is read only action?
+     */
+
+    function isReadOnly($args)
+    {
+        return true;
+    }
+
 }