mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
BUG Metadata heading removed from RediretorPage
Currently the empty metadata accordion stays on the RedirectorPage. This is now removed.
This commit is contained in:
parent
b74af926ce
commit
e131a041d4
@ -120,9 +120,7 @@ class RedirectorPage extends Page {
|
||||
$fields->removeByName('Content', true);
|
||||
|
||||
// Remove all metadata fields, does not apply for redirector pages
|
||||
$fields->removeByName('MetaTagsHeader');
|
||||
$fields->removeByName('MetaDescription');
|
||||
$fields->removeByName('ExtraMeta');
|
||||
$fields->removeByName('Metadata');
|
||||
|
||||
$fields->addFieldsToTab('Root.Main',
|
||||
array(
|
||||
|
Loading…
Reference in New Issue
Block a user