Explorar o código

Merge pull request #81 from Romain-Geissler/no-csrf-protection

Remove csrf_protection in FilterTypeGuesser.php
Thomas %!s(int64=13) %!d(string=hai) anos
pai
achega
b4d28ccbb7
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      Guesser/FilterTypeGuesser.php

+ 0 - 3
Guesser/FilterTypeGuesser.php

@@ -85,9 +85,6 @@ class FilterTypeGuesser extends AbstractTypeGuesser
             case 'bigint':
             case 'smallint':
                 $options['field_type'] = 'number';
-                $options['field_options'] = array(
-                    'csrf_protection' => false
-                );
 
                 return new TypeGuess('doctrine_orm_number', $options, Guess::MEDIUM_CONFIDENCE);
             case 'string':