diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-04-16 15:00:58 -0700 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-04-16 15:00:58 -0700 |
commit | 6848e93cd526ebafa0c6001f51197357d1cfb4e2 (patch) | |
tree | d602cde3b50db5504a42d92bdf1c66383a710ab9 /actions/requesttoken.php | |
parent | ad5dd9030bf919dba95e1ca066acef71a2d3e6bd (diff) | |
parent | 55d7bb4701ca39fb8f4b859b19defdfc7af0142c (diff) |
Merge branch '0.8.x' into twitter-import
Diffstat (limited to 'actions/requesttoken.php')
-rw-r--r-- | actions/requesttoken.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/requesttoken.php b/actions/requesttoken.php index ca253b97a..9507e3d6c 100644 --- a/actions/requesttoken.php +++ b/actions/requesttoken.php @@ -52,7 +52,7 @@ class RequesttokenAction extends Action * * @return boolean false */ - function isReadOnly() + function isReadOnly($args) { return false; } @@ -69,7 +69,7 @@ class RequesttokenAction extends Action parent::handle($args); try { common_remove_magic_from_request(); - $req = OAuthRequest::from_request(); + $req = OAuthRequest::from_request('POST', common_local_url('requesttoken')); $server = omb_oauth_server(); $token = $server->fetch_request_token($req); print $token; |