aboutsummaryrefslogtreecommitdiff
path: root/mod/oauth_api/vendors/oauth/library/OAuthRequester.php
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2011-10-29 15:10:48 -0700
committerBrett Profitt <brett.profitt@gmail.com>2011-10-29 15:10:48 -0700
commit6971caddb2245bec34fd23927f6f093e5b28c1ea (patch)
treea8c78a2b8f79201e04696687ad095e81eeee1805 /mod/oauth_api/vendors/oauth/library/OAuthRequester.php
parent3e4641537ff66b7e634f83e7a3386df9273ec9ff (diff)
parent9046723db0c21cd0995ec87e69734bd1f0edcae6 (diff)
downloadelgg-6971caddb2245bec34fd23927f6f093e5b28c1ea.tar.gz
elgg-6971caddb2245bec34fd23927f6f093e5b28c1ea.tar.bz2
Merge branch 'master' of github.com:Elgg/Elgg
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'];