Merge pull request #38725 from nextcloud/dropMetaRobots

Drop meta robots header
This commit is contained in:
Simon L 2023-06-12 09:47:24 +02:00 committed by GitHub
commit 1001adc390
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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) {