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:
Guy Marriott 2018-08-24 10:27:21 +12:00 committed by GitHub
commit 5b8a0dbf13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -231,6 +231,8 @@ class SiteTreeSubsites extends DataExtension
* It may be that some relations are not diostinct to sub site so can stay
* 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)
{