From: Michael Date: Mon, 28 Oct 2019 13:51:38 +0000 (+0000) Subject: Standards and unneccessary EOL X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e1f36bfd7ae5566800ded2025c3e1bc9f6c507e9;p=friendica.git Standards and unneccessary EOL --- diff --git a/mod/openid.php b/mod/openid.php index 1f63a12de1..98748c21d8 100644 --- a/mod/openid.php +++ b/mod/openid.php @@ -64,9 +64,9 @@ function openid_content(App $a) { Session::set('openid_server', $open_id_obj->discover($open_id_obj->identity)); if (intval(Config::get('config', 'register_policy')) === \Friendica\Module\Register::CLOSED) { - notice(L10n::t('Account not found. Please login to your existing account to add the OpenID to it.') . EOL); + notice(L10n::t('Account not found. Please login to your existing account to add the OpenID to it.')); } else { - notice(L10n::t('Account not found. Please register a new account or login to your existing account to add the OpenID to it.') . EOL); + notice(L10n::t('Account not found. Please register a new account or login to your existing account to add the OpenID to it.')); } $a->internalRedirect('login'); diff --git a/mod/settings.php b/mod/settings.php index be121f6a78..717dac225e 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -577,6 +577,7 @@ function settings_post(App $a) $fields['openid'] = ''; $fields['openidserver'] = ''; } + if (DBA::update('user', $fields, ['uid' => local_user()])) { info(L10n::t('Settings updated.') . EOL); }