mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
Merge pull request #386 from creative-commoners/pulls/2.2/deprecate-duplicate
API Deprecate duplicateSubsiteRelations. Use "cascade_duplicates" config API instead.
This commit is contained in:
commit
5b8a0dbf13
@ -231,6 +231,8 @@ class SiteTreeSubsites extends DataExtension
|
|||||||
* It may be that some relations are not diostinct to sub site so can stay
|
* It may be that some relations are not diostinct to sub site so can stay
|
||||||
* whereas others may need to be duplicated
|
* whereas others may need to be duplicated
|
||||||
*
|
*
|
||||||
|
* @deprecated 2.2..3.0 Use the "cascade_duplicates" config API instead
|
||||||
|
* @param SiteTree $originalPage
|
||||||
*/
|
*/
|
||||||
public function duplicateSubsiteRelations($originalPage)
|
public function duplicateSubsiteRelations($originalPage)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user