updates via fabrixxm
This commit is contained in:
parent
3522417ab5
commit
bab459d28f
4 changed files with 4 additions and 4 deletions
BIN
statusnet.tgz
BIN
statusnet.tgz
Binary file not shown.
|
@ -184,7 +184,7 @@ function statusnet_settings_post ($a,$post) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
goaway($a->get_baseurl().'/settings/addon');
|
goaway($a->get_baseurl().'/settings/connectors');
|
||||||
} else {
|
} else {
|
||||||
if (isset($_POST['statusnet-consumersecret'])) {
|
if (isset($_POST['statusnet-consumersecret'])) {
|
||||||
// check if we can reach the API of the StatusNet server
|
// check if we can reach the API of the StatusNet server
|
||||||
|
@ -211,7 +211,7 @@ function statusnet_settings_post ($a,$post) {
|
||||||
notice( t('We could not contact the StatusNet API with the Path you entered.').EOL );
|
notice( t('We could not contact the StatusNet API with the Path you entered.').EOL );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
goaway($a->get_baseurl().'/settings/addon');
|
goaway($a->get_baseurl().'/settings/connectors');
|
||||||
} else {
|
} else {
|
||||||
if (isset($_POST['statusnet-pin'])) {
|
if (isset($_POST['statusnet-pin'])) {
|
||||||
// if the user supplied us with a PIN from Twitter, let the magic of OAuth happen
|
// if the user supplied us with a PIN from Twitter, let the magic of OAuth happen
|
||||||
|
@ -229,7 +229,7 @@ function statusnet_settings_post ($a,$post) {
|
||||||
set_pconfig(local_user(),'statusnet', 'oauthsecret', $token['oauth_token_secret']);
|
set_pconfig(local_user(),'statusnet', 'oauthsecret', $token['oauth_token_secret']);
|
||||||
set_pconfig(local_user(),'statusnet', 'post', 1);
|
set_pconfig(local_user(),'statusnet', 'post', 1);
|
||||||
// reload the Addon Settings page, if we don't do it see Bug #42
|
// reload the Addon Settings page, if we don't do it see Bug #42
|
||||||
goaway($a->get_baseurl().'/settings/addon');
|
goaway($a->get_baseurl().'/settings/connectors');
|
||||||
} else {
|
} else {
|
||||||
// if no PIN is supplied in the POST variables, the user has changed the setting
|
// if no PIN is supplied in the POST variables, the user has changed the setting
|
||||||
// to post a tweet for every new __public__ posting to the wall
|
// to post a tweet for every new __public__ posting to the wall
|
||||||
|
|
BIN
twitter.tgz
BIN
twitter.tgz
Binary file not shown.
|
@ -114,7 +114,7 @@ function twitter_settings_post ($a,$post) {
|
||||||
set_pconfig(local_user(),'twitter', 'oauthsecret', $token['oauth_token_secret']);
|
set_pconfig(local_user(),'twitter', 'oauthsecret', $token['oauth_token_secret']);
|
||||||
set_pconfig(local_user(),'twitter', 'post', 1);
|
set_pconfig(local_user(),'twitter', 'post', 1);
|
||||||
// reload the Addon Settings page, if we don't do it see Bug #42
|
// reload the Addon Settings page, if we don't do it see Bug #42
|
||||||
goaway($a->get_baseurl().'/settings/addon');
|
goaway($a->get_baseurl().'/settings/connectors');
|
||||||
} else {
|
} else {
|
||||||
// if no PIN is supplied in the POST variables, the user has changed the setting
|
// if no PIN is supplied in the POST variables, the user has changed the setting
|
||||||
// to post a tweet for every new __public__ posting to the wall
|
// to post a tweet for every new __public__ posting to the wall
|
||||||
|
|
Loading…
Reference in a new issue