|
@@ 73-76 (lines=4) @@
|
| 70 |
|
$contentCreateStruct->sectionId = $sectionId; |
| 71 |
|
} |
| 72 |
|
|
| 73 |
|
if (isset($this->dsl['owner'])) { |
| 74 |
|
$owner = $this->getUser($this->dsl['owner']); |
| 75 |
|
$contentCreateStruct->ownerId = $owner->id; |
| 76 |
|
} |
| 77 |
|
|
| 78 |
|
// instantiate a location create struct from the parent location |
| 79 |
|
$locationId = $this->dsl['main_location']; |
|
@@ 165-168 (lines=4) @@
|
| 162 |
|
$contentMetaDataUpdateStruct->remoteId = $this->dsl['new_remote_id']; |
| 163 |
|
} |
| 164 |
|
|
| 165 |
|
if (isset($this->dsl['owner'])) { |
| 166 |
|
$owner = $this->getUser($this->dsl['owner']); |
| 167 |
|
$contentMetaDataUpdateStruct->ownerId = $owner->id; |
| 168 |
|
} |
| 169 |
|
|
| 170 |
|
$content = $contentService->updateContentMetadata($content->contentInfo, $contentMetaDataUpdateStruct); |
| 171 |
|
} |