]> git.mxchange.org Git - friendica.git/commitdiff
Apply suggestions from code review
authorPhilipp <admin+Github@philipp.info>
Sun, 19 Feb 2023 10:26:26 +0000 (11:26 +0100)
committerGitHub <noreply@github.com>
Sun, 19 Feb 2023 10:26:26 +0000 (11:26 +0100)
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
src/Module/Admin/DBSync.php

index 0142bdd6f197e739a253b54fce57cd7a768a6eb0..942791887c180503db6806252c85156209a71fce 100644 (file)
@@ -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"),