]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
retweet API methods are readonly
authorEvan Prodromou <evan@status.net>
Thu, 21 Jan 2010 16:32:01 +0000 (11:32 -0500)
committerEvan Prodromou <evan@status.net>
Thu, 21 Jan 2010 16:32:01 +0000 (11:32 -0500)
actions/apistatusesretweets.php
actions/apitimelineretweetedbyme.php
actions/apitimelineretweetedtome.php
actions/apitimelineretweetsofme.php

index 81744c2b4ab7c8c882b4a5e4337948d7ae4f7788..a79d43168ed49829c1647feceeafa6426049d7e5 100644 (file)
@@ -126,6 +126,6 @@ class ApiStatusesRetweetsAction extends ApiAuthAction
 
     function isReadOnly($args)
     {
-        return false;
+        return true;
     }
 }
index 7958dab3741931588825e550077eb2c06e541c51..54d32e5fa2af3ed960bb43232ac46df34bdac736 100644 (file)
@@ -136,6 +136,6 @@ class ApiTimelineRetweetedByMeAction extends ApiAuthAction
 
     function isReadOnly($args)
     {
-        return false;
+        return true;
     }
 }
index 66f06cc0ecb0421c650bed311f8223ffe64dd95b..e47bc30b854cb9a93e69cd2d229186668a5964e4 100644 (file)
@@ -135,6 +135,6 @@ class ApiTimelineRetweetedToMeAction extends ApiAuthAction
 
     function isReadOnly($args)
     {
-        return false;
+        return true;
     }
 }
index 6ca2c779cb9aade7514dd6991e69045a3d396047..e4b09e9bdaf334b860022482d5d1e0bac6b41bd9 100644 (file)
@@ -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;
+    }
 }