mirror of
https://github.com/friendica/friendica
synced 2025-04-25 09:50:11 +00:00
Merge pull request #13264 from MrPetovan/task/hide-blocklist
Hide blocklist from anonymous users on closed registration nodes
This commit is contained in:
commit
66353e6117
9 changed files with 77 additions and 48 deletions
|
@ -88,8 +88,6 @@ class Display extends BaseModule
|
|||
|
||||
protected function content(array $request = []): string
|
||||
{
|
||||
header('Vary: Accept', false);
|
||||
|
||||
if (ActivityPub::isRequest()) {
|
||||
$this->baseUrl->redirect(str_replace('display/', 'objects/', $this->args->getQueryString()));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue