mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
ENH Don't use deprecated method (#601)
This commit is contained in:
parent
2713c3a113
commit
9be525a902
@ -78,7 +78,7 @@ class SubsiteCopyPagesTask extends BuildTask
|
||||
$childClone->copyVersionToStage('Stage', 'Live');
|
||||
array_push($stack, [$child->ID, $childClone->ID]);
|
||||
|
||||
Deprecation::withNoReplacement(function () use ($child) {
|
||||
Deprecation::withSuppressedNotice(function () use ($child) {
|
||||
$this->log(sprintf('Copied "%s" (#%d, %s)', $child->Title, $child->ID, $child->Link()));
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user