remove the unqualified "OAuth" namespace from the project. We need to reference either OAuth1 or OAuth2.

This commit is contained in:
redmatrix
2015-12-13 15:35:45 -08:00
parent 395268da22
commit bb0e4044bf
8 changed files with 103 additions and 102 deletions

View File

@@ -13,7 +13,7 @@ function api_login(&$a){
// login with oauth
try {
$oauth = new ZotOAuth1();
$req = OAuthRequest::from_request();
$req = OAuth1Request::from_request();
list($consumer,$token) = $oauth->verify_request($req);