mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
BUG: Coding convention fixes
BUG: more coding convention fixing
This commit is contained in:
parent
ef4d539a12
commit
c345f6fcc5
@ -664,6 +664,8 @@ class Subsite_Template extends Subsite {
|
||||
|
||||
//Change to destination subsite
|
||||
self::changeSubsite($intranet->ID);
|
||||
$newTemplate = parent::duplicate($doWrite);
|
||||
$childClone = $child->duplicateToSubsite($newTemplate, false);
|
||||
|
||||
$childClone->ParentID = $destParentID;
|
||||
$childClone->writeToStage('Stage');
|
||||
@ -671,7 +673,6 @@ class Subsite_Template extends Subsite {
|
||||
|
||||
//Change Back to this subsite
|
||||
self::changeSubsite($this->ID);
|
||||
|
||||
array_push($stack, array($child->ID, $childClone->ID));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user