diff --git a/flextype/core/Forms.php b/flextype/core/Forms.php index 24148a6c..26c47129 100644 --- a/flextype/core/Forms.php +++ b/flextype/core/Forms.php @@ -89,20 +89,6 @@ class Forms $form .= $this->_csrfHiddenField(); $form .= $this->_actionHiddenField(); - // Extends fieldsets - if (isset($fieldset['extends'])) { - if (is_array($fieldset['extends'])) { - foreach ($fieldset['extends'] as $extends) { - $extends_fieldset_content = Filesystem::read($this->flextype->fieldsets->getFileLocation($extends)); - $fieldset = array_replace_recursive($this->flextype->parser->decode($extends_fieldset_content, 'yaml'), $fieldset); - } - } else { - $extends_fieldset_content = Filesystem::read($this->flextype->fieldsets->getFileLocation($fieldset['extends'])); - $extends_fieldset = $this->flextype->parser->decode($extends_fieldset_content, 'yaml'); - $fieldset = array_replace_recursive($extends_fieldset, $fieldset); - } - } - // Go through all sections if (count($fieldset['sections']) > 0) { $form .= '