deprecate the AUTOLOAD method of WebGUI::Form
This commit is contained in:
parent
4881b83a05
commit
db4e74a738
1 changed files with 1 additions and 0 deletions
|
|
@ -66,6 +66,7 @@ sub AUTOLOAD {
|
|||
$session->log->error($@);
|
||||
return undef;
|
||||
}
|
||||
derp "Using WebGUI::Form::<field type> is deprecated. Use WebGUI::Form::Control->new() and toHtml() instead.";
|
||||
return $control->toHtml;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue