user selects preconfigured SN, put app name in pconfig

pull/101/head^2
Tobias Diekershoff 2013-02-19 09:08:31 +01:00
parent 78f850215a
commit 61bbedcc0f
1 changed files with 1 additions and 0 deletions

View File

@ -176,6 +176,7 @@ function statusnet_settings_post ($a,$post) {
set_pconfig(local_user(), 'statusnet', 'consumerkey', $asn['consumerkey'] );
set_pconfig(local_user(), 'statusnet', 'consumersecret', $asn['consumersecret'] );
set_pconfig(local_user(), 'statusnet', 'baseapi', $asn['apiurl'] );
set_pconfig(local_user(), 'statusnet', 'application_name', $asn['applicationname'] );
} else {
notice( t('Please contact your site administrator.<br />The provided API URL is not valid.').EOL.$asn['apiurl'].EOL );
}