summaryrefslogtreecommitdiff
path: root/actions/userauthorization.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-03 07:52:18 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-03 07:52:18 -0400
commit71c40322738c537fecd75f81cd530306d35187ad (patch)
tree3bab40749213690a7a08e6aa68b27993d4f5436c /actions/userauthorization.php
parent31829840802dd8433fdb278c8b014c45c7ef39c8 (diff)
clear out lots of debugging code, add require to userauthorization
darcs-hash:20080603115218-84dde-f333d4541e1112487a5da1e3ad71064513e2228f.gz
Diffstat (limited to 'actions/userauthorization.php')
-rw-r--r--actions/userauthorization.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/actions/userauthorization.php b/actions/userauthorization.php
index 49f3c1b57..aa4ca2fad 100644
--- a/actions/userauthorization.php
+++ b/actions/userauthorization.php
@@ -19,6 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
+require_once(INSTALLDIR.'/lib/omb.php');
+
class UserauthorizationAction extends Action {
function handle($args) {
parent::handle($args);
@@ -33,7 +35,7 @@ class UserauthorizationAction extends Action {
common_server_error(_t('Cannot find request'));
}
common_debug('userauthorization.php - $req = "'.print_r($req,TRUE).'"');
- $server = common_oauth_server();
+ $server = omb_oauth_server();
common_debug('userauthorization.php - checking request version');
$server->get_version($req);
common_debug('userauthorization.php - getting the consumer');