MINOR Reverted usage of $param in getCMSFields()

This commit is contained in:
Ingo Schommer 2012-04-13 15:59:19 +02:00
parent beba8d3153
commit ca327d218e
4 changed files with 4 additions and 4 deletions

View File

@ -59,7 +59,7 @@ class BasicFieldsTestPage extends TestPage {
"TimeDisabled" => "23:59",
);
function getCMSFields($params = null) {
function getCMSFields() {
$fields = parent::getCMSFields();
$fields->addFieldsToTab('Root.Text', array(

View File

@ -28,7 +28,7 @@ class GridFieldTestPage extends Page {
$page->doPublish();
}
public function getCMSFields($class = null, $extension = null) {
public function getCMSFields() {
$fields = parent::getCMSFields();
$config = new GridFieldConfig_RecordEditor();

View File

@ -2,7 +2,7 @@
class LegacyTableFieldsTestPage extends TestPage {
function getCMSFields($class = null, $extension = null) {
function getCMSFields() {
$fields = parent::getCMSFields();
$tf = new TableListField('CompaniesTF', 'Company');

View File

@ -15,7 +15,7 @@ class RelationFieldsTestPage extends TestPage {
"ManyManyPages" => "SiteTree",
);
function getCMSFields($class = null, $extension = null) {
function getCMSFields() {
$fields = parent::getCMSFields();
$fields->addFieldToTab("Root.CheckboxSet",