EOL removed

This commit is contained in:
Michael 2020-07-23 06:25:01 +00:00
parent 3fc3ded750
commit 0007da8630
39 changed files with 146 additions and 146 deletions

View file

@ -64,7 +64,7 @@ class Contacts extends BaseProfile
$o = self::getTabsHTML($a, 'contacts', $is_owner, $nickname);
if (!count($a->profile) || $a->profile['hide-friends']) {
notice(DI::l10n()->t('Permission denied.') . EOL);
notice(DI::l10n()->t('Permission denied.'));
return $o;
}
@ -92,7 +92,7 @@ class Contacts extends BaseProfile
$contacts_stmt = DBA::select('contact', [], $condition, $params);
if (!DBA::isResult($contacts_stmt)) {
notice(DI::l10n()->t('No contacts.') . EOL);
notice(DI::l10n()->t('No contacts.'));
return $o;
}

View file

@ -102,7 +102,7 @@ class Status extends BaseProfile
$last_updated_key = "profile:" . $a->profile['uid'] . ":" . local_user() . ":" . $remote_contact;
if (!empty($a->profile['hidewall']) && !$is_owner && !$remote_contact) {
notice(DI::l10n()->t('Access to this profile has been restricted.') . EOL);
notice(DI::l10n()->t('Access to this profile has been restricted.'));
return '';
}