mirror of
https://github.com/friendica/friendica
synced 2025-04-19 14:30:10 +00:00
EOL removed
This commit is contained in:
parent
3fc3ded750
commit
0007da8630
39 changed files with 146 additions and 146 deletions
|
@ -46,7 +46,7 @@ class Server extends BaseAdmin
|
|||
'reason' => Strings::escapeTags(trim($_POST['newentry_reason']))
|
||||
];
|
||||
DI::config()->set('system', 'blocklist', $blocklist);
|
||||
info(DI::l10n()->t('Server domain pattern added to blocklist.') . EOL);
|
||||
info(DI::l10n()->t('Server domain pattern added to blocklist.'));
|
||||
} else {
|
||||
// Edit the entries from blocklist
|
||||
$blocklist = [];
|
||||
|
|
|
@ -47,7 +47,7 @@ class DBSync extends BaseAdmin
|
|||
if (intval($curr) == $update) {
|
||||
DI::config()->set('system', 'build', intval($curr) + 1);
|
||||
}
|
||||
info(DI::l10n()->t('Update has been marked successful') . EOL);
|
||||
info(DI::l10n()->t('Update has been marked successful'));
|
||||
}
|
||||
DI::baseUrl()->redirect('admin/dbsync');
|
||||
}
|
||||
|
|
|
@ -51,7 +51,7 @@ class Delete extends BaseAdmin
|
|||
Item::markForDeletion(['guid' => $guid]);
|
||||
}
|
||||
|
||||
info(DI::l10n()->t('Item marked for deletion.') . EOL);
|
||||
info(DI::l10n()->t('Item marked for deletion.'));
|
||||
DI::baseUrl()->redirect('admin/item/delete');
|
||||
}
|
||||
|
||||
|
|
|
@ -109,7 +109,7 @@ class Users extends BaseAdmin
|
|||
$uid = $a->argv[3];
|
||||
$user = User::getById($uid, ['username', 'blocked']);
|
||||
if (!DBA::isResult($user)) {
|
||||
notice('User not found' . EOL);
|
||||
notice(DI::l10n()->t('User not found'));
|
||||
DI::baseUrl()->redirect('admin/users');
|
||||
return ''; // NOTREACHED
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue