From e131a041d4766c1d2c86b91bd31abd0fd0358367 Mon Sep 17 00:00:00 2001 From: Daniel Hensby Date: Wed, 20 Feb 2013 13:32:55 +0000 Subject: [PATCH] BUG Metadata heading removed from RediretorPage Currently the empty metadata accordion stays on the RedirectorPage. This is now removed. --- code/model/RedirectorPage.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/code/model/RedirectorPage.php b/code/model/RedirectorPage.php index 2c55fbc2..28c201f5 100644 --- a/code/model/RedirectorPage.php +++ b/code/model/RedirectorPage.php @@ -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(