X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Ftwitapifriendships.php;h=e4b49cbe4a92529cc2c470b2779ec68dfa8b96f4;hb=2abe10b8ea4b5d69fc7f6513bf465541454ca2cf;hp=03dd8f06358f5c0bf95659591b14d6667ff69cc2;hpb=b2f0ad1cccc4bebbf264c4ab61a37173c9a565cc;p=quix0rs-gnu-social.git diff --git a/actions/twitapifriendships.php b/actions/twitapifriendships.php index 03dd8f0635..e4b49cbe4a 100644 --- a/actions/twitapifriendships.php +++ b/actions/twitapifriendships.php @@ -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);