mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
MINOR Reverted usage of $param in getCMSFields()
This commit is contained in:
parent
beba8d3153
commit
ca327d218e
@ -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(
|
||||
|
@ -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();
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
class LegacyTableFieldsTestPage extends TestPage {
|
||||
|
||||
function getCMSFields($class = null, $extension = null) {
|
||||
function getCMSFields() {
|
||||
$fields = parent::getCMSFields();
|
||||
|
||||
$tf = new TableListField('CompaniesTF', 'Company');
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user