removed deprecation notice
This commit is contained in:
parent
e747947f47
commit
9c32972787
@ -18,10 +18,4 @@ namespace Symfony\Bridge\Twig\Node;
|
|||||||
*/
|
*/
|
||||||
class FormEnctypeNode extends SearchAndRenderBlockNode
|
class FormEnctypeNode extends SearchAndRenderBlockNode
|
||||||
{
|
{
|
||||||
public function compile(\Twig_Compiler $compiler)
|
|
||||||
{
|
|
||||||
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)');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user