[widgets] Remove superfluous $baseurl template variable

This commit is contained in:
Hypolite Petovan 2019-05-05 22:04:29 -04:00
parent 246057726b
commit 81f9f266ab
2 changed files with 0 additions and 3 deletions

View File

@ -62,8 +62,6 @@ function like_widget_content(&$a, $conf){
'$dislike' => $dislikes,
'$strdislike'=> L10n::tt("%d person doesn't like this", "%d people don't like this", $dislikes),
'$baseurl' => $a->getBaseURL(),
]);
return $o;

View File

@ -62,7 +62,6 @@ function widgets_settings(&$a,&$o) {
$t = Renderer::getMarkupTemplate("settings.tpl", "addon/widgets/");
$o .= Renderer::replaceMacros($t, [
'$submit' => L10n::t('Generate new key'),
'$baseurl' => $a->getBaseURL(),
'$title' => "Widgets",
'$label' => L10n::t('Widgets key'),
'$key' => $key,