mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Upgrading rules for new inspect/warning capabilities
This commit is contained in:
parent
7b71b2868e
commit
276400eb59
10
.upgrade.yml
10
.upgrade.yml
@ -148,3 +148,13 @@ mappings:
|
||||
RemoveOrphanedPagesTaskTest: SilverStripe\CMS\Tests\RemoveOrphanedPagesTaskTest
|
||||
excludedPaths:
|
||||
- '*/_config/legacy.yml'
|
||||
warnings:
|
||||
methods:
|
||||
'SilverStripe\CMS\Model\SiteTree::getIsAddedToStage()':
|
||||
message: 'Moved to Versioned->isOnDraftOnly()'
|
||||
'SilverStripe\CMS\Model\SiteTree::getIsModifiedOnStage()':
|
||||
message: 'Moved to Versioned->isModifiedOnDraft()'
|
||||
'SilverStripe\CMS\Model\SiteTree::isPublished()':
|
||||
message: 'Moved to Versioned'
|
||||
'SilverStripe\CMS\Model\SiteTree::getExistsOnLive()':
|
||||
message: 'Removed in favour of isPublished()'
|
Loading…
Reference in New Issue
Block a user