mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
Removed spurious CustomContent has_one item
This commit is contained in:
parent
3962b70a52
commit
08207510c4
@ -17,7 +17,7 @@ class SiteTreeSubsites extends DataObjectDecorator {
|
|||||||
"MetaDescription",
|
"MetaDescription",
|
||||||
"MetaKeywords",
|
"MetaKeywords",
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the fields that will be copied from the template.
|
* Set the fields that will be copied from the template.
|
||||||
* Note that ParentID and Sort are implied.
|
* Note that ParentID and Sort are implied.
|
||||||
@ -34,7 +34,6 @@ class SiteTreeSubsites extends DataObjectDecorator {
|
|||||||
'has_one' => array(
|
'has_one' => array(
|
||||||
'Subsite' => 'Subsite', // The subsite that this page belongs to
|
'Subsite' => 'Subsite', // The subsite that this page belongs to
|
||||||
'MasterPage' => 'SiteTree', // Optional; the page that is the content master
|
'MasterPage' => 'SiteTree', // Optional; the page that is the content master
|
||||||
'CustomContent' => 'Boolean', // On a page that has a content master, set this to true to
|
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user