diff --git a/code/Company.php b/code/Company.php index 17b99de..3a5e235 100644 --- a/code/Company.php +++ b/code/Company.php @@ -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));