add deprecation log (#12618)

This commit is contained in:
Maximilian Reichel 2014-11-29 11:52:21 +01:00
parent d277c16a27
commit 7d9afd72ed

View File

@ -136,8 +136,8 @@ class FormHelper extends Helper
*/
public function enctype(FormView $view)
{
// Uncomment this as soon as the deprecation note should be shown
// trigger_error('The form helper $view[\'form\']->enctype() is deprecated since version 2.3 and will be removed in 3.0. Use $view[\'form\']->start() instead.', E_USER_DEPRECATED);
trigger_error('The form helper $view[\'form\']->enctype() is deprecated since version 2.3 and will be removed in 3.0. Use $view[\'form\']->start() instead.', E_USER_DEPRECATED);
return $this->renderer->searchAndRenderBlock($view, 'enctype');
}