Renamed to 'public' after feedback
This commit is contained in:
parent
bcd2b1c523
commit
3111c2fd5c
|
@ -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' => [
|
||||
|
|
|
@ -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,
|
||||
],
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue
Block a user