mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Remove deprecated FieldSet, use FieldList instead
This commit is contained in:
parent
6a9617bf6b
commit
0673f278d8
@ -1,17 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* @deprecated 3.0 Please use {@link FieldList}.
|
|
||||||
*
|
|
||||||
* @package forms
|
|
||||||
* @subpackage fields-structural
|
|
||||||
*/
|
|
||||||
class FieldSet extends FieldList {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated 3.0 Use FieldList instead
|
|
||||||
*/
|
|
||||||
public function __construct($items = array()) {
|
|
||||||
Deprecation::notice('3.0', 'Use FieldList instead.');
|
|
||||||
parent::__construct(!is_array($items) || func_num_args() > 1 ? func_get_args(): $items);
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user