added missing deprecation notice when using the form_enctype function
This commit is contained in:
parent
db5dee66ee
commit
37a2c93023
@ -22,7 +22,6 @@ class FormEnctypeNode extends SearchAndRenderBlockNode
|
|||||||
{
|
{
|
||||||
parent::compile($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)');
|
||||||
// $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