ENHANCEMENT Improve upgrade rules to support advanced upgrader rewrites (#2114)

This commit is contained in:
Damian Mooyman 2018-03-05 13:42:55 +13:00 committed by Aaron Carlino
parent 012bfec5bf
commit 8c35e3391c

View File

@ -150,9 +150,12 @@ excludedPaths:
- '*/_config/legacy.yml' - '*/_config/legacy.yml'
warnings: warnings:
methods: methods:
'SilverStripe\CMS\Model\SiteTree::getIsAddedToStage()': 'SilverStripe\CMS\Model\SiteTree->getIsAddedToStage()':
message: 'Moved to Versioned->isOnDraftOnly()' message: 'Moved to Versioned->isOnDraftOnly()'
'SilverStripe\CMS\Model\SiteTree::getIsModifiedOnStage()': replacement: 'isOnDraftOnly'
'SilverStripe\CMS\Model\SiteTree->getIsModifiedOnStage()':
message: 'Moved to Versioned->isModifiedOnDraft()' message: 'Moved to Versioned->isModifiedOnDraft()'
'SilverStripe\CMS\Model\SiteTree::getExistsOnLive()': replacement: 'isModifiedOnDraft'
'SilverStripe\CMS\Model\SiteTree->getExistsOnLive()':
message: 'Removed in favour of isPublished()' message: 'Removed in favour of isPublished()'
replacement: 'isPublished'