Bläddra i källkod

removed old unused option

Quentin Pleplé 14 år sedan
förälder
incheckning
dca0721eea
1 ändrade filer med 0 tillägg och 4 borttagningar
  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) {
             if ($fieldDescription->getType() == ClassMetadataInfo::ONE_TO_MANY) {
                 $fieldDescription->setTemplate('SonataAdminBundle:CRUD:edit_orm_one_to_many.html.twig');
                 $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');
-                }
             }
             }
         }
         }