aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework
diff options
context:
space:
mode:
authorGit'Fellow <12234510+solracsf@users.noreply.github.com>2023-06-09 17:57:49 +0200
committerGit'Fellow <12234510+solracsf@users.noreply.github.com>2023-06-09 18:06:37 +0200
commit5b5895a1305a6edf745e43ffc5f969e311e20d22 (patch)
tree65350ac629ebbb1bfb067a32e1fe8157dc7cefd4 /lib/public/AppFramework
parent76d4487f63fc01c061a6a2be66d5cc51a7e11965 (diff)
downloadnextcloud-server-5b5895a1305a6edf745e43ffc5f969e311e20d22.tar.gz
nextcloud-server-5b5895a1305a6edf745e43ffc5f969e311e20d22.zip
Drop meta robots tag
Revert mistake Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Diffstat (limited to 'lib/public/AppFramework')
-rw-r--r--lib/public/AppFramework/Http/TemplateResponse.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/public/AppFramework/Http/TemplateResponse.php b/lib/public/AppFramework/Http/TemplateResponse.php
index 23843cd21d1..48097674fdf 100644
--- a/lib/public/AppFramework/Http/TemplateResponse.php
+++ b/lib/public/AppFramework/Http/TemplateResponse.php
@@ -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) {