summaryrefslogtreecommitdiff
path: root/actions/apigroupismember.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-01-28 00:39:40 +0000
committerZach Copley <zach@status.net>2010-01-28 00:40:44 +0000
commit77aed28f17dbc3607502f1f47984661867d18f4f (patch)
tree0604aebadf6c12542a854d4e0117ba64e5a3961c /actions/apigroupismember.php
parent78079f34e273357d03ceee13269f9a388e66c4e3 (diff)
These API methods should return true for ->isReadOnly($args)!
Diffstat (limited to 'actions/apigroupismember.php')
-rw-r--r--actions/apigroupismember.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/actions/apigroupismember.php b/actions/apigroupismember.php
index 69ead0b53..97f843561 100644
--- a/actions/apigroupismember.php
+++ b/actions/apigroupismember.php
@@ -119,4 +119,19 @@ class ApiGroupIsMemberAction extends ApiBareAuthAction
}
}
+ /**
+ * Return true if read only.
+ *
+ * MAY override
+ *
+ * @param array $args other arguments
+ *
+ * @return boolean is read only action?
+ */
+
+ function isReadOnly($args)
+ {
+ return true;
+ }
+
}