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') ?? [];
|
$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' => [
|
||||||
|
|
|
@ -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,
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue