]> source.dussan.org Git - nextcloud-server.git/commitdiff
Drop meta robots tag 38725/head
authorGit'Fellow <12234510+solracsf@users.noreply.github.com>
Fri, 9 Jun 2023 15:57:49 +0000 (17:57 +0200)
committerGit'Fellow <12234510+solracsf@users.noreply.github.com>
Fri, 9 Jun 2023 16:06:37 +0000 (18:06 +0200)
Revert mistake

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
lib/public/AppFramework/Http/TemplateResponse.php

index 23843cd21d1cd587e1083b8a1c7b5d504a6368f5..48097674fdf20261d21c5456958bc81faa144c5e 100644 (file)
@@ -203,7 +203,6 @@ class TemplateResponse extends Response {
                        $renderAs = $this->renderAs;
                }
 
-               \OCP\Util::addHeader('meta', ['name' => 'robots', 'content' => 'noindex, nofollow']);
                $template = new \OCP\Template($this->appName, $this->templateName, $renderAs);
 
                foreach ($this->params as $key => $value) {