X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=src%2FContent%2FWidget.php;h=93dc5b71759eeb62daa065aafc9fa4e47e6a377f;hb=096b95a247b9218b929d389c4064ac9352f7d58d;hp=641f56329c25bef71f05facc59f9dd1b533fc7d9;hpb=4faf08c0643d3e6bbe2a0a77be2ff8c1dbea4d5c;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; }