MINOR Removed obsolete getCMSFields() arguments

This commit is contained in:
Ingo Schommer 2012-03-08 11:09:19 +01:00
parent fbf955f602
commit e313964668

View File

@ -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));