BUG Metadata heading removed from RediretorPage

Currently the empty metadata accordion stays on the RedirectorPage. This is now removed.
This commit is contained in:
Daniel Hensby 2013-02-20 13:32:55 +00:00
parent b74af926ce
commit e131a041d4

View File

@ -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(