From e3139646685daaea152218cd75935ceb9a49a396 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Thu, 8 Mar 2012 11:09:19 +0100 Subject: [PATCH] MINOR Removed obsolete getCMSFields() arguments --- code/Company.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));