Browse Source

Merge pull request #38725 from nextcloud/dropMetaRobots

Drop meta robots header
pull/38642/head
Simon L 3 years ago
committed by GitHub
parent
commit
1001adc390
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      lib/public/AppFramework/Http/TemplateResponse.php

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

Loading…
Cancel
Save