summaryrefslogtreecommitdiff
path: root/actions/apifriendshipsexists.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:44:55 +0000
commit420ae06faf033b799c677845045b50b259801dbd (patch)
tree674db4c1fc19d3284286093a3a6d68c87e0acfdd /actions/apifriendshipsexists.php
parentfe531dfc6c9c700b5566db634a9078d4b4b87d87 (diff)
These API methods should return true for ->isReadOnly($args)!
Diffstat (limited to 'actions/apifriendshipsexists.php')
-rw-r--r--actions/apifriendshipsexists.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/actions/apifriendshipsexists.php b/actions/apifriendshipsexists.php
index c040b9f6a..ca62b5f51 100644
--- a/actions/apifriendshipsexists.php
+++ b/actions/apifriendshipsexists.php
@@ -116,4 +116,19 @@ class ApiFriendshipsExistsAction 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;
+ }
+
}