summaryrefslogtreecommitdiff
path: root/actions/apiaccountratelimitstatus.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/apiaccountratelimitstatus.php
parentfe531dfc6c9c700b5566db634a9078d4b4b87d87 (diff)
These API methods should return true for ->isReadOnly($args)!
Diffstat (limited to 'actions/apiaccountratelimitstatus.php')
-rw-r--r--actions/apiaccountratelimitstatus.php17
1 files changed, 16 insertions, 1 deletions
diff --git a/actions/apiaccountratelimitstatus.php b/actions/apiaccountratelimitstatus.php
index 1a5afd552..f19e315bf 100644
--- a/actions/apiaccountratelimitstatus.php
+++ b/actions/apiaccountratelimitstatus.php
@@ -105,7 +105,22 @@ class ApiAccountRateLimitStatusAction extends ApiBareAuthAction
print json_encode($out);
}
- $this->endDocument($this->format);
+ $this->endDocument($this->format);
+ }
+
+ /**
+ * Return true if read only.
+ *
+ * MAY override
+ *
+ * @param array $args other arguments
+ *
+ * @return boolean is read only action?
+ */
+
+ function isReadOnly($args)
+ {
+ return true;
}
}