Permalink
Browse files

MINOR Renaming getFieldSet with getFieldList in FormScaffolder

  • Loading branch information...
1 parent 011e094 commit a53cca89329129d43bc12be8e9ed1db55fb03076 @halkyon halkyon committed May 14, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 forms/FormScaffolder.php
  2. +1 −1 model/DataObject.php
View
@@ -64,7 +64,7 @@ function __construct($obj) {
*
* @return FieldList
*/
- public function getFieldSet() {
+ public function getFieldList() {
$fields = new FieldList();
// tabbed or untabbed
View
@@ -1869,7 +1869,7 @@ public function scaffoldFormFields($_params = null) {
$fs->fieldClasses = $params['fieldClasses'];
$fs->ajaxSafe = $params['ajaxSafe'];
- return $fs->getFieldSet();
+ return $fs->getFieldList();
}
/**

0 comments on commit a53cca8

Please sign in to comment.