mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #292 from dhensby/patch-1
BUG Metadata heading removed from RediretorPage
This commit is contained in:
commit
91b602c768
@ -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