added missing deprecation notice when using the form_enctype function

This commit is contained in:
Fabien Potencier 2015-02-04 16:14:45 +01:00
parent db5dee66ee
commit 37a2c93023
1 changed files with 1 additions and 2 deletions

View File

@ -22,7 +22,6 @@ class FormEnctypeNode extends SearchAndRenderBlockNode
{
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)');
$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)');
}
}