]> git.mxchange.org Git - friendica-addons.git/commitdiff
user selects preconfigured SN, put app name in pconfig
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Tue, 19 Feb 2013 08:08:31 +0000 (09:08 +0100)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Tue, 19 Feb 2013 08:08:31 +0000 (09:08 +0100)
statusnet/statusnet.php

index cca04ee9f8e98d8608d46801480fa37b08c277c6..2e653aadb6edefc8802b933bc787a01215b83679 100755 (executable)
@@ -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 );
                         }