mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 09:53:39 +00:00
user selects preconfigured SN, put app name in pconfig
This commit is contained in:
parent
78f850215a
commit
61bbedcc0f
1 changed files with 1 additions and 0 deletions
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue