mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
MINOR Removed obsolete getCMSFields() arguments
This commit is contained in:
parent
fbf955f602
commit
e313964668
@ -30,7 +30,7 @@ class Company extends DataObject {
|
||||
public static $summary_fields = array('Name', 'Category', 'Revenue', 'CEO');
|
||||
|
||||
|
||||
public function getCMSFields($controller, $formName) {
|
||||
public function getCMSFields() {
|
||||
$fields = new FieldList();
|
||||
$fields->add(new TextField('Name', 'Name', $this->Name));
|
||||
$fields->add(new TextField('Category', 'Category', $this->Category));
|
||||
|
Loading…
Reference in New Issue
Block a user