Skip to content

Commit

Permalink
BUG Metadata heading removed from RediretorPage
Browse files Browse the repository at this point in the history
Currently the empty metadata accordion stays on the RedirectorPage. This is now removed.
  • Loading branch information
dhensby committed Feb 20, 2013
1 parent b74af92 commit e131a04
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions code/model/RedirectorPage.php
Expand Up @@ -120,9 +120,7 @@ public function getCMSFields() {
$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(
Expand Down

0 comments on commit e131a04

Please sign in to comment.