]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/twitapifriendships.php
fix calls to show_rss_timeline
[quix0rs-gnu-social.git] / actions / twitapifriendships.php
index 03dd8f06358f5c0bf95659591b14d6667ff69cc2..e4b49cbe4a92529cc2c470b2779ec68dfa8b96f4 100644 (file)
@@ -23,20 +23,6 @@ require_once(INSTALLDIR.'/lib/twitterapi.php');
 
 class TwitapifriendshipsAction extends TwitterapiAction {
 
-       function is_readonly() {
-
-               static $write_methods = array(  'create',
-                                                                               'destroy');
-
-               $cmdtext = explode('.', $this->arg('method'));
-
-               if (in_array($cmdtext[0], $write_methods)) {
-                       return false;
-               }
-
-               return true;
-       }
-
        function create($args, $apidata) {
                parent::handle($args);