diff options
author | Zach Copley <zach@status.net> | 2010-01-28 00:39:40 +0000 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-01-28 00:44:55 +0000 |
commit | 420ae06faf033b799c677845045b50b259801dbd (patch) | |
tree | 674db4c1fc19d3284286093a3a6d68c87e0acfdd /actions/apifriendshipsshow.php | |
parent | fe531dfc6c9c700b5566db634a9078d4b4b87d87 (diff) |
These API methods should return true for ->isReadOnly($args)!
Diffstat (limited to 'actions/apifriendshipsshow.php')
-rw-r--r-- | actions/apifriendshipsshow.php | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/actions/apifriendshipsshow.php b/actions/apifriendshipsshow.php index 73ecc9249..f29e63713 100644 --- a/actions/apifriendshipsshow.php +++ b/actions/apifriendshipsshow.php @@ -87,7 +87,6 @@ class ApiFriendshipsShowAction extends ApiBareAuthAction return true; } - /** * Determines whether this API resource requires auth. Overloaded to look * return true in case source_id and source_screen_name are both empty @@ -165,4 +164,19 @@ class ApiFriendshipsShowAction 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; + } + } |