aboutsummaryrefslogtreecommitdiff
path: root/mod/oauth_api/vendors/oauth/library/OAuthRequester.php
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-10-29 16:19:49 -0400
committercash <cash.costello@gmail.com>2011-10-29 16:19:49 -0400
commit3bfeb41a547284d34506c10be3501aeefe73f74c (patch)
treee54e14f328ce77aa5a51bf4c626ede1bf5e2e42f /mod/oauth_api/vendors/oauth/library/OAuthRequester.php
parent4106d50727d5a56ec1442b16e182fbd9acc6b167 (diff)
downloadelgg-3bfeb41a547284d34506c10be3501aeefe73f74c.tar.gz
elgg-3bfeb41a547284d34506c10be3501aeefe73f74c.tar.bz2
Refs #4028 reset the oAuth lib to version r64 of oauth-php
Diffstat (limited to 'mod/oauth_api/vendors/oauth/library/OAuthRequester.php')
-rw-r--r--mod/oauth_api/vendors/oauth/library/OAuthRequester.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/oauth_api/vendors/oauth/library/OAuthRequester.php b/mod/oauth_api/vendors/oauth/library/OAuthRequester.php
index c6f56178e..87f9586c0 100644
--- a/mod/oauth_api/vendors/oauth/library/OAuthRequester.php
+++ b/mod/oauth_api/vendors/oauth/library/OAuthRequester.php
@@ -150,7 +150,7 @@ class OAuthRequester extends OAuthRequestSigner
$params['xoauth_token_ttl'] = intval($options['token_ttl']);
}
- $store = elggconnect_get_oauth_store();//OAuthStore::instance();
+ $store = OAuthStore::instance();
$r = $store->getServer($consumer_key, $usr_id);
$uri = $r['request_token_uri'];
@@ -220,7 +220,7 @@ class OAuthRequester extends OAuthRequestSigner
{
OAuthRequestLogger::start();
- $store = elggconnect_get_oauth_store();//OAuthStore::instance();
+ $store = OAuthStore::instance();
$r = $store->getServerTokenSecrets($consumer_key, $token, 'request', $usr_id);
$uri = $r['access_token_uri'];
$token_name = $r['token_name'];