소스 검색

removed old unused option

Quentin Pleplé 14 년 전
부모
커밋
dca0721eea
1개의 변경된 파일0개의 추가작업 그리고 4개의 파일을 삭제
  1. 0 4
      Builder/ORM/FormContractor.php

+ 0 - 4
Builder/ORM/FormContractor.php

@@ -318,10 +318,6 @@ class FormContractor implements FormContractorInterface
             
             if ($fieldDescription->getType() == ClassMetadataInfo::ONE_TO_MANY) {
                 $fieldDescription->setTemplate('SonataAdminBundle:CRUD:edit_orm_one_to_many.html.twig');
-            
-                if ($fieldDescription->getOption('edit') == 'inline' && !$fieldDescription->getOption('widget_form_field')) {
-                    $fieldDescription->setOption('widget_form_field', 'Bundle\\Sonata\\AdminBundle\\Form\\EditableFieldGroup');
-                }
             }
         }