From f8a73c157e6dbe0bc2b2dae33802d5b306a7012d Mon Sep 17 00:00:00 2001 From: zach Date: Fri, 24 Oct 2008 17:37:45 -0400 Subject: Twitter-compatible API - checks for is_readonly() now work! darcs-hash:20081024213745-462f3-7c26611e7f75265affafd471c3d66e02ec7e686e.gz --- actions/twitapifavorites.php | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'actions/twitapifavorites.php') diff --git a/actions/twitapifavorites.php b/actions/twitapifavorites.php index 2c6c2e1d9..2fdd88544 100644 --- a/actions/twitapifavorites.php +++ b/actions/twitapifavorites.php @@ -23,19 +23,6 @@ require_once(INSTALLDIR.'/lib/twitterapi.php'); class TwitapifavoritesAction extends TwitterapiAction { - function is_readonly() { - - static $write_methods = array('favorites'); - - $cmdtext = explode('.', $this->arg('method')); - - if (in_array($cmdtext[0], $write_methods)) { - return false; - } - - return true; - } - function favorites($args, $apidata) { parent::handle($args); -- cgit v1.2.3-54-g00ecf