Renamed to 'public' after feedback

This commit is contained in:
Roland Häder 2023-07-26 09:44:39 +02:00
parent bcd2b1c523
commit 3111c2fd5c
No known key found for this signature in database
GPG Key ID: C82EDE5DDFA0BA77
2 changed files with 4 additions and 4 deletions

View File

@ -94,7 +94,7 @@ class Friendica extends BaseModule
$blockList = $this->config->get('system', 'blocklist') ?? []; $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 = [ $blocked = [
'title' => $this->t('On this server the following remote servers are blocked.'), 'title' => $this->t('On this server the following remote servers are blocked.'),
'header' => [ 'header' => [

View File

@ -787,8 +787,8 @@ return [
'mastodon_banner' => '/images/friendica-banner.jpg', 'mastodon_banner' => '/images/friendica-banner.jpg',
], ],
'blocklist' => [ 'blocklist' => [
// published (Boolean) // public (Boolean)
// Wether the blocklist is published under /about (or any later API) // Wether the blocklist is publicly listed under /about (or in any later API)
'published' => true, 'public' => true,
], ],
]; ];