X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FContent%2FWidget.php;h=93dc5b71759eeb62daa065aafc9fa4e47e6a377f;hb=739b6d6533fb54b1d7e6a641242c0103d73c487e;hp=641f56329c25bef71f05facc59f9dd1b533fc7d9;hpb=6aa1dcfad371f34fea1f8e39b73de2cc3dd05784;p=friendica.git diff --git a/src/Content/Widget.php b/src/Content/Widget.php index 641f56329c..93dc5b7175 100644 --- a/src/Content/Widget.php +++ b/src/Content/Widget.php @@ -59,7 +59,7 @@ class Widget /** * Return Find People widget * - * @return string HTML code respresenting "People Widget" + * @return string HTML code representing "People Widget" */ public static function findPeople(): string { @@ -120,6 +120,10 @@ class Widget $networks[] = Protocol::TWITTER; } + if (!Addon::isEnabled("tumblr")) { + $networks[] = Protocol::TUMBLR; + } + if (DI::config()->get("system", "ostatus_disabled")) { $networks[] = Protocol::OSTATUS; }