Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
544168244c
commit
94d1e0b232
1 changed files with 0 additions and 2 deletions
|
@ -102,13 +102,11 @@ class DBSync extends BaseAdmin
|
|||
|
||||
if (!count($failed)) {
|
||||
$o = Renderer::replaceMacros(Renderer::getMarkupTemplate('admin/dbsync/structure_check.tpl'), [
|
||||
'$base' => DI::baseUrl(),
|
||||
'$banner' => DI::l10n()->t('No failed updates.'),
|
||||
'$check' => DI::l10n()->t('Check database structure'),
|
||||
]);
|
||||
} else {
|
||||
$o = Renderer::replaceMacros(Renderer::getMarkupTemplate('admin/dbsync/failed_updates.tpl'), [
|
||||
'$base' => DI::baseUrl(),
|
||||
'$banner' => DI::l10n()->t('Failed Updates'),
|
||||
'$desc' => DI::l10n()->t('This does not include updates prior to 1139, which did not return a status.'),
|
||||
'$mark' => DI::l10n()->t("Mark success \x28if update was manually applied\x29"),
|
||||
|
|
Loading…
Reference in a new issue