]> git.mxchange.org Git - friendica-addons.git/commitdiff
[widgets] Remove superfluous $baseurl template variable
authorHypolite Petovan <hypolite@mrpetovan.com>
Mon, 6 May 2019 02:04:29 +0000 (22:04 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Mon, 6 May 2019 02:04:29 +0000 (22:04 -0400)
widgets/widget_like.php
widgets/widgets.php

index 56ad1e5b35abbda726541899d9de8e593e52955d..1fcc96b997116f9e6c70f80216e4c9ddd789f74b 100644 (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;
index 31bd030844fba1649ce543b6c08f187a38d5306b..5c075964837bd943efbebfd38b2a34fc982dccbc 100644 (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,