Fix for Twitter bridge bug introduced by uiredesign merge
This commit is contained in:
parent
aa100884fb
commit
85321cede0
|
@ -472,7 +472,7 @@ class TwittersettingsAction extends ConnectSettingsAction
|
||||||
|
|
||||||
function verifyCredentials($screen_name, $password)
|
function verifyCredentials($screen_name, $password)
|
||||||
{
|
{
|
||||||
$uri = 'http://twitter.com/account/verifyCredentials.json';
|
$uri = 'http://twitter.com/account/verify_credentials.json';
|
||||||
|
|
||||||
$data = get_twitter_data($uri, $screen_name, $password);
|
$data = get_twitter_data($uri, $screen_name, $password);
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@ function get_twitter_data($uri, $screen_name, $password)
|
||||||
$errmsg = curl_error($ch);
|
$errmsg = curl_error($ch);
|
||||||
|
|
||||||
if ($errmsg) {
|
if ($errmsg) {
|
||||||
common_debug("Twitter bridge - cURL error: $errmsg - trying to load: $uri with user $twit_user.",
|
common_debug("Twitter bridge - cURL error: $errmsg - trying to load: $uri with user $screen_name.",
|
||||||
__FILE__);
|
__FILE__);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user