BUG: Coding convention fixes

BUG: more coding convention fixing
This commit is contained in:
Kirk Mayo 2012-07-16 11:14:13 +12:00
parent ef4d539a12
commit c345f6fcc5
8 changed files with 93 additions and 92 deletions

View File

@ -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));
}
}