From: Tobias Diekershoff Date: Tue, 19 Feb 2013 08:08:31 +0000 (+0100) Subject: user selects preconfigured SN, put app name in pconfig X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=61bbedcc0f9cf84835d4c05c22e871658671d5d2;p=friendica-addons.git user selects preconfigured SN, put app name in pconfig --- diff --git a/statusnet/statusnet.php b/statusnet/statusnet.php index cca04ee9..2e653aad 100755 --- a/statusnet/statusnet.php +++ b/statusnet/statusnet.php @@ -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.
The provided API URL is not valid.').EOL.$asn['apiurl'].EOL ); }