diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-06-02 16:38:02 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-06-02 16:38:02 -0400 |
commit | 67264e038ccc9a276b8e940d388585536db10c92 (patch) | |
tree | 6b486b21474a3a0730d333f30a909ecad12905ac | |
parent | 8d943248517edf692f95f983752dea11e12d4a4b (diff) |
more debug code
darcs-hash:20080602203802-84dde-f7f237da7c86fe38fd67629d0599c48929dfa619.gz
-rw-r--r-- | actions/userauthorization.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/actions/userauthorization.php b/actions/userauthorization.php index 617830e9a..49f3c1b57 100644 --- a/actions/userauthorization.php +++ b/actions/userauthorization.php @@ -27,13 +27,16 @@ class UserauthorizationAction extends Action { $this->send_authorization(); } else { try { + common_debug('userauthorization.php - fetching request'); $req = $this->get_request(); if (!$req) { common_server_error(_t('Cannot find request')); } common_debug('userauthorization.php - $req = "'.print_r($req,TRUE).'"'); $server = common_oauth_server(); + common_debug('userauthorization.php - checking request version'); $server->get_version($req); + common_debug('userauthorization.php - getting the consumer'); $consumer = $server->get_consumer($req); common_debug('userauthorization.php - $consumer = "'.print_r($consumer,TRUE).'"'); $token = $server->get_token($req, $consumer, "request"); |