]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
mark retweet api actions read-only where applicable
authorEvan Prodromou <evan@status.net>
Wed, 20 Jan 2010 22:00:42 +0000 (17:00 -0500)
committerEvan Prodromou <evan@status.net>
Wed, 20 Jan 2010 22:00:42 +0000 (17:00 -0500)
actions/apistatusesretweets.php
actions/apitimelineretweetedbyme.php
actions/apitimelineretweetedtome.php

index f7a3dd60a0d075774a21d390311469b771759f85..81744c2b4ab7c8c882b4a5e4337948d7ae4f7788 100644 (file)
@@ -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;
+    }
 }
index 88652c3fdc7955668f3658bc942ece5dfc339b5c..7958dab3741931588825e550077eb2c06e541c51 100644 (file)
@@ -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;
+    }
 }
index 113ab96d2c676474aaeb015c4edc3a19b7d4ac69..66f06cc0ecb0421c650bed311f8223ffe64dd95b 100644 (file)
@@ -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;
+    }
 }