]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/xrdaction.php
Mark OembedAction, XrdAction, and (plugin) AutocompleteAction as read-only. Tweaked...
[quix0rs-gnu-social.git] / lib / xrdaction.php
index 4377eab943bcb5e11eff1e8cfcdf67d2493227c6..855ed1ea892e4f847fdb6003a6d9f7296e502280 100644 (file)
@@ -145,4 +145,16 @@ class XrdAction extends Action
 
         return (substr($uri, 0, 5) == 'acct:');
     }
+
+    /**
+     * Is this action read-only?
+     *
+     * @param array $args other arguments
+     *
+     * @return boolean is read only action?
+     */
+    function isReadOnly($args)
+    {
+        return true;
+    }
 }