diff options
Diffstat (limited to 'actions/twitapistatuses.php')
-rw-r--r-- | actions/twitapistatuses.php | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/actions/twitapistatuses.php b/actions/twitapistatuses.php index f80db8899..5459db8a0 100644 --- a/actions/twitapistatuses.php +++ b/actions/twitapistatuses.php @@ -23,20 +23,6 @@ require_once(INSTALLDIR.'/lib/twitterapi.php'); class TwitapistatusesAction extends TwitterapiAction { - function is_readonly() { - - static $write_methods = array( 'update', - 'destroy'); - - $cmdtext = explode('.', $this->arg('method')); - - if (in_array($cmdtext[0], $write_methods)) { - return false; - } - - return true; - } - function public_timeline($args, $apidata) { parent::handle($args); @@ -242,6 +228,10 @@ class TwitapistatusesAction extends TwitterapiAction { return; } + foreach ($_POST as $p => $v) { + common_debug("_POST: $p = $v"); + } + $this->auth_user = $apidata['user']; $user = $this->auth_user; $status = $this->trimmed('status'); |