]> git.mxchange.org Git - friendica.git/commitdiff
Renamed to 'public' after feedback
authorRoland Häder <roland@mxchange.org>
Wed, 26 Jul 2023 07:44:39 +0000 (09:44 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 26 Jul 2023 08:20:14 +0000 (10:20 +0200)
src/Module/Friendica.php
static/defaults.config.php

index 2dbe5d7a9d61fc89860eb533d66c20f07678bc28..e09fd0e0fa8e9767ed8348de5911876a22bb5c91 100644 (file)
@@ -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'   => [
index e2ce631d0dbb095d261ed81c5361ed484167a942..125d8ce7b655a692c648b1a4bba0be9d84190ba7 100644 (file)
@@ -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,
        ],
 ];