From 9e3013c6b613528eac4ace08524360330910801e Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 20 Jan 2010 17:00:42 -0500 Subject: mark retweet api actions read-only where applicable --- actions/apistatusesretweets.php | 15 +++++++++++++++ actions/apitimelineretweetedbyme.php | 15 +++++++++++++++ actions/apitimelineretweetedtome.php | 15 +++++++++++++++ 3 files changed, 45 insertions(+) (limited to 'actions') diff --git a/actions/apistatusesretweets.php b/actions/apistatusesretweets.php index f7a3dd60a..81744c2b4 100644 --- a/actions/apistatusesretweets.php +++ b/actions/apistatusesretweets.php @@ -113,4 +113,19 @@ class ApiStatusesRetweetsAction extends ApiAuthAction break; } } + + /** + * Return true if read only. + * + * MAY override + * + * @param array $args other arguments + * + * @return boolean is read only action? + */ + + function isReadOnly($args) + { + return false; + } } diff --git a/actions/apitimelineretweetedbyme.php b/actions/apitimelineretweetedbyme.php index 88652c3fd..7958dab37 100644 --- a/actions/apitimelineretweetedbyme.php +++ b/actions/apitimelineretweetedbyme.php @@ -123,4 +123,19 @@ class ApiTimelineRetweetedByMeAction extends ApiAuthAction break; } } + + /** + * Return true if read only. + * + * MAY override + * + * @param array $args other arguments + * + * @return boolean is read only action? + */ + + function isReadOnly($args) + { + return false; + } } diff --git a/actions/apitimelineretweetedtome.php b/actions/apitimelineretweetedtome.php index 113ab96d2..66f06cc0e 100644 --- a/actions/apitimelineretweetedtome.php +++ b/actions/apitimelineretweetedtome.php @@ -122,4 +122,19 @@ class ApiTimelineRetweetedToMeAction extends ApiAuthAction break; } } + + /** + * Return true if read only. + * + * MAY override + * + * @param array $args other arguments + * + * @return boolean is read only action? + */ + + function isReadOnly($args) + { + return false; + } } -- cgit v1.2.3-54-g00ecf