function feeds_oauth_get_tokens in Feeds OAuth 6
Same name and namespace in other branches
- 7 feeds_oauth.module \feeds_oauth_get_tokens()
2 string references to 'feeds_oauth_get_tokens'
- OAuth2HTTPSFetcher::configDefaults in ./
OAuth2HTTPSFetcher.inc - Declare defaults.
- OAuthHTTPFetcher::configDefaults in ./
OAuthHTTPFetcher.inc - Declare defaults.
File
- ./
feeds_oauth.module, line 141
Code
function feeds_oauth_get_tokens($uid, $site_id) {
return db_fetch_array(db_query("SELECT oauth_token, oauth_token_secret FROM {feeds_oauth_access_tokens} WHERE uid = %d AND site_id = '%s'", $uid, $site_id));
}