Renamed to 'public' after feedback

pull/13291/head
Roland Häder 2023-07-26 09:44:39 +02:00
rodzic bcd2b1c523
commit 3111c2fd5c
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: C82EDE5DDFA0BA77
2 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -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' => [

Wyświetl plik

@ -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,
],
];