summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-21 11:32:01 -0500
committerEvan Prodromou <evan@status.net>2010-01-21 11:32:01 -0500
commite5eb95ab59598392bfae99adac1ac0716397ba13 (patch)
treed0008f77e6746113e669b195a975fb4ea4301264 /actions
parent4175ec7c6eeb0a5308341327e0e768a6489320e8 (diff)
retweet API methods are readonly
Diffstat (limited to 'actions')
-rw-r--r--actions/apistatusesretweets.php2
-rw-r--r--actions/apitimelineretweetedbyme.php2
-rw-r--r--actions/apitimelineretweetedtome.php2
-rw-r--r--actions/apitimelineretweetsofme.php15
4 files changed, 18 insertions, 3 deletions
diff --git a/actions/apistatusesretweets.php b/actions/apistatusesretweets.php
index 81744c2b4..a79d43168 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 7958dab37..54d32e5fa 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 66f06cc0e..e47bc30b8 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 6ca2c779c..e4b09e9bd 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;
+ }
}