Standards and unneccessary EOL

This commit is contained in:
Michael 2019-10-28 13:51:38 +00:00
parent bfbce16d0b
commit e1f36bfd7a
2 changed files with 3 additions and 2 deletions

View File

@ -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');

View File

@ -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);
}