mirror of
https://github.com/friendica/friendica
synced 2025-04-19 07:10:11 +00:00
Remove deprecated App::getBaseURL() - process methods to DI::baseUrl()->get()
This commit is contained in:
parent
e57a87f224
commit
e944d7bed6
43 changed files with 76 additions and 120 deletions
|
@ -88,13 +88,13 @@ class DBSync extends BaseAdminModule
|
|||
|
||||
if (!count($failed)) {
|
||||
$o = Renderer::replaceMacros(Renderer::getMarkupTemplate('admin/dbsync/structure_check.tpl'), [
|
||||
'$base' => $a->getBaseURL(true),
|
||||
'$base' => DI::baseUrl()->get(true),
|
||||
'$banner' => L10n::t('No failed updates.'),
|
||||
'$check' => L10n::t('Check database structure'),
|
||||
]);
|
||||
} else {
|
||||
$o = Renderer::replaceMacros(Renderer::getMarkupTemplate('admin/dbsync/failed_updates.tpl'), [
|
||||
'$base' => $a->getBaseURL(true),
|
||||
'$base' => DI::baseUrl()->get(true),
|
||||
'$banner' => L10n::t('Failed Updates'),
|
||||
'$desc' => L10n::t('This does not include updates prior to 1139, which did not return a status.'),
|
||||
'$mark' => L10n::t("Mark success \x28if update was manually applied\x29"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue