Navigation Menu

Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Set inferOptionsFromParent on shared repositories, to allow resharing…
Browse files Browse the repository at this point in the history
… if repo is already a template child. To be tested extensively.
  • Loading branch information
cdujeu committed Sep 3, 2014
1 parent 50fa673 commit d3522b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/core/classes/class.Repository.php
Expand Up @@ -179,6 +179,7 @@ public function createSharedChild($newLabel, $newOptions, $parentId = null, $own
if ($parentId == null) {
$parentId = $this->getId();
}
$repo->setInferOptionsFromParent(true);
$repo->setOwnerData($parentId, $owner, $uniqueUser);
return $repo;
}
Expand Down

0 comments on commit d3522b0

Please sign in to comment.