mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +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);
|
$fields->removeByName('Content', true);
|
||||||
|
|
||||||
// Remove all metadata fields, does not apply for redirector pages
|
// Remove all metadata fields, does not apply for redirector pages
|
||||||
$fields->removeByName('MetaTagsHeader');
|
$fields->removeByName('Metadata');
|
||||||
$fields->removeByName('MetaDescription');
|
|
||||||
$fields->removeByName('ExtraMeta');
|
|
||||||
|
|
||||||
$fields->addFieldsToTab('Root.Main',
|
$fields->addFieldsToTab('Root.Main',
|
||||||
array(
|
array(
|
||||||
|
Loading…
Reference in New Issue
Block a user