Revert "minor #12673 [Form] [Hackday] [2.7] Add a deprecation note about the `form_enctype` helper (mrcmorales)"

This reverts commit e8d98578f4, reversing
changes made to 0c7df5898f.
This commit is contained in:
Fabien Potencier 2014-12-26 12:36:36 +01:00
parent f5407b7314
commit 550ca9d987
1 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@ class FormEnctypeNode extends SearchAndRenderBlockNode
{
parent::compile($compiler);
$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)');
// 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)');
}
}