From: Evan Prodromou Date: Thu, 21 Jan 2010 16:32:01 +0000 (-0500) Subject: retweet API methods are readonly X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e5eb95ab59598392bfae99adac1ac0716397ba13;p=quix0rs-gnu-social.git retweet API methods are readonly --- diff --git a/actions/apistatusesretweets.php b/actions/apistatusesretweets.php index 81744c2b4a..a79d43168e 100644 --- a/actions/apistatusesretweets.php +++ b/actions/apistatusesretweets.php @@ -126,6 +126,6 @@ class ApiStatusesRetweetsAction extends ApiAuthAction function isReadOnly($args) { - return false; + return true; } } diff --git a/actions/apitimelineretweetedbyme.php b/actions/apitimelineretweetedbyme.php index 7958dab374..54d32e5fa2 100644 --- a/actions/apitimelineretweetedbyme.php +++ b/actions/apitimelineretweetedbyme.php @@ -136,6 +136,6 @@ class ApiTimelineRetweetedByMeAction extends ApiAuthAction function isReadOnly($args) { - return false; + return true; } } diff --git a/actions/apitimelineretweetedtome.php b/actions/apitimelineretweetedtome.php index 66f06cc0ec..e47bc30b85 100644 --- a/actions/apitimelineretweetedtome.php +++ b/actions/apitimelineretweetedtome.php @@ -135,6 +135,6 @@ class ApiTimelineRetweetedToMeAction extends ApiAuthAction function isReadOnly($args) { - return false; + return true; } } diff --git a/actions/apitimelineretweetsofme.php b/actions/apitimelineretweetsofme.php index 6ca2c779cb..e4b09e9bda 100644 --- a/actions/apitimelineretweetsofme.php +++ b/actions/apitimelineretweetsofme.php @@ -123,4 +123,19 @@ class ApiTimelineRetweetsOfMeAction 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 true; + } }