Remove duplicate $baseurl template variable

- Remove unused $overwriteURL parameter in Renderer::replaceMacros
This commit is contained in:
Hypolite Petovan 2019-04-27 22:18:30 -04:00
parent d8125eb3db
commit 9774c95b80
41 changed files with 38 additions and 101 deletions

View file

@ -406,8 +406,6 @@ class App
* @param bool $ssl Whether to append http or https under BaseURL::SSL_POLICY_SELFSIGN
*
* @return string Friendica server base URL
*
* @deprecated 2019.06 - use BaseURL->get($ssl) instead
*/
public function getBaseURL($ssl = false)
{
@ -509,7 +507,6 @@ class App
* being first
*/
$this->page['htmlhead'] = Core\Renderer::replaceMacros($tpl, [
'$baseurl' => $this->getBaseURL(),
'$local_user' => local_user(),
'$generator' => 'Friendica' . ' ' . FRIENDICA_VERSION,
'$delitem' => Core\L10n::t('Delete this item?'),
@ -562,7 +559,6 @@ class App
$tpl = Core\Renderer::getMarkupTemplate('footer.tpl');
$this->page['footer'] = Core\Renderer::replaceMacros($tpl, [
'$baseurl' => $this->getBaseURL(),
'$footerScripts' => $this->footerScripts,
]) . $this->page['footer'];
}