Replace deprecated $a->page with DI::page()

This commit is contained in:
nupplaPhil
2019-12-30 20:02:09 +01:00
parent 6c2d13403e
commit 6d7362da41
48 changed files with 197 additions and 198 deletions

View File

@@ -118,7 +118,7 @@ function wallmessage_content(App $a) {
}
$tpl = Renderer::getMarkupTemplate('wallmsg-header.tpl');
$a->page['htmlhead'] .= Renderer::replaceMacros($tpl, [
DI::page()['htmlhead'] .= Renderer::replaceMacros($tpl, [
'$baseurl' => System::baseUrl(true),
'$nickname' => $user['nickname'],
'$linkurl' => L10n::t('Please enter a link URL:')