mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
Merge branch '3' into 4
This commit is contained in:
commit
9c50c27b24
@ -78,7 +78,7 @@ class SubsiteCopyPagesTask extends BuildTask
|
|||||||
$childClone->copyVersionToStage('Stage', 'Live');
|
$childClone->copyVersionToStage('Stage', 'Live');
|
||||||
array_push($stack, [$child->ID, $childClone->ID]);
|
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()));
|
$this->log(sprintf('Copied "%s" (#%d, %s)', $child->Title, $child->ID, $child->Link()));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user