mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
ENHANCEMENT Improve upgrade rules to support advanced upgrader rewrites (#2114)
This commit is contained in:
parent
012bfec5bf
commit
8c35e3391c
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user