From: Roland Häder Date: Wed, 26 Jul 2023 07:44:39 +0000 (+0200) Subject: Renamed to 'public' after feedback X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3111c2fd5cf67b04fcc92951aa422d7cca8b64fe;p=friendica.git Renamed to 'public' after feedback --- diff --git a/src/Module/Friendica.php b/src/Module/Friendica.php index 2dbe5d7a9d..e09fd0e0fa 100644 --- a/src/Module/Friendica.php +++ b/src/Module/Friendica.php @@ -94,7 +94,7 @@ class Friendica extends BaseModule $blockList = $this->config->get('system', 'blocklist') ?? []; - if (!empty($blockList) && ($this->config->get('blocklist', 'published') || $this->session->isAuthenticated())) { + if (!empty($blockList) && ($this->config->get('blocklist', 'public') || $this->session->isAuthenticated())) { $blocked = [ 'title' => $this->t('On this server the following remote servers are blocked.'), 'header' => [ diff --git a/static/defaults.config.php b/static/defaults.config.php index e2ce631d0d..125d8ce7b6 100644 --- a/static/defaults.config.php +++ b/static/defaults.config.php @@ -787,8 +787,8 @@ return [ 'mastodon_banner' => '/images/friendica-banner.jpg', ], 'blocklist' => [ - // published (Boolean) - // Wether the blocklist is published under /about (or any later API) - 'published' => true, + // public (Boolean) + // Wether the blocklist is publicly listed under /about (or in any later API) + 'public' => true, ], ];