mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
API CHANGE Removed deprecated $className and $allowHTML parameters to LabelField
This commit is contained in:
parent
454023c666
commit
18fb465c51
@ -12,11 +12,9 @@ class LabelField extends DatalessField {
|
||||
/**
|
||||
* @param string $name
|
||||
* @param string $title
|
||||
* @param string $className (Deprecated: use addExtraClass())
|
||||
* @param bool $allowHTML (Deprecated: use setAllowHTML())
|
||||
* @param Form $form
|
||||
*/
|
||||
function __construct($name, $title, $className = null, $allowHTML = false, $form = null) {
|
||||
function __construct($name, $title, $form = null) {
|
||||
// legacy handling for old parameters: $title, $heading, ...
|
||||
// instead of new handling: $name, $title, $heading, ...
|
||||
$args = func_get_args();
|
||||
|
Loading…
x
Reference in New Issue
Block a user