[Form] remove obsolete deprecation comments

This commit is contained in:
Tobias Schultze 2015-10-03 00:55:12 +02:00
parent 513fc315d6
commit dd5064578e
2 changed files with 0 additions and 10 deletions

View File

@ -19,11 +19,4 @@ namespace Symfony\Bridge\Twig\Node;
*/
class FormEnctypeNode extends SearchAndRenderBlockNode
{
public function compile(\Twig_Compiler $compiler)
{
parent::compile($compiler);
// Uncomment this as soon as the deprecation note should be shown
// $compiler->write('trigger_error(\'The helper form_enctype(form) is deprecated since version 2.3 and will be removed in 3.0. Use form_start(form) instead.\', E_USER_DEPRECATED)');
}
}

View File

@ -42,9 +42,6 @@ class BindRequestListener implements EventSubscriberInterface
return;
}
// Uncomment this as soon as the deprecation note should be shown
// trigger_error('Passing a Request instance to Form::submit() is deprecated since version 2.3 and will be disabled in 3.0. Call Form::process($request) instead.', E_USER_DEPRECATED);
$name = $form->getConfig()->getName();
$default = $form->getConfig()->getCompound() ? array() : null;