mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 04:03:40 +00:00
commit
ef71f4681e
1 changed files with 1 additions and 1 deletions
|
@ -791,7 +791,7 @@ function twitter_post_hook(App $a, array &$b)
|
||||||
|
|
||||||
function twitter_addon_admin_post(App $a)
|
function twitter_addon_admin_post(App $a)
|
||||||
{
|
{
|
||||||
$consumerkey = trim($_POST['consumerkey'] ?? : '');
|
$consumerkey = trim($_POST['consumerkey'] ?? '');
|
||||||
$consumersecret = trim($_POST['consumersecret'] ?? '');
|
$consumersecret = trim($_POST['consumersecret'] ?? '');
|
||||||
DI::config()->set('twitter', 'consumerkey', $consumerkey);
|
DI::config()->set('twitter', 'consumerkey', $consumerkey);
|
||||||
DI::config()->set('twitter', 'consumersecret', $consumersecret);
|
DI::config()->set('twitter', 'consumersecret', $consumersecret);
|
||||||
|
|
Loading…
Reference in a new issue