mirror of
https://github.com/friendica/friendica
synced 2025-04-22 01:50: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
|
@ -351,7 +351,7 @@ class Contact extends BaseModule
|
|||
|
||||
$tpl = Renderer::getMarkupTemplate('contacts-head.tpl');
|
||||
$a->page['htmlhead'] .= Renderer::replaceMacros($tpl, [
|
||||
'$baseurl' => $a->getBaseURL(true),
|
||||
'$baseurl' => DI::baseUrl()->get(true),
|
||||
]);
|
||||
|
||||
$sort_type = 0;
|
||||
|
@ -473,7 +473,7 @@ class Contact extends BaseModule
|
|||
$contact = $a->data['contact'];
|
||||
|
||||
$a->page['htmlhead'] .= Renderer::replaceMacros(Renderer::getMarkupTemplate('contact_head.tpl'), [
|
||||
'$baseurl' => $a->getBaseURL(true),
|
||||
'$baseurl' => DI::baseUrl()->get(true),
|
||||
]);
|
||||
|
||||
$contact['blocked'] = Model\Contact::isBlockedByUser($contact['id'], local_user());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue