|
@@ 270-273 (lines=4) @@
|
| 267 |
|
$contentMetaDataUpdateStruct->remoteId = $step->dsl['new_remote_id']; |
| 268 |
|
} |
| 269 |
|
|
| 270 |
|
if (isset($step->dsl['owner'])) { |
| 271 |
|
$owner = $this->getUser($step->dsl['owner']); |
| 272 |
|
$contentMetaDataUpdateStruct->ownerId = $owner->id; |
| 273 |
|
} |
| 274 |
|
|
| 275 |
|
if (isset($step->dsl['modification_date'])) { |
| 276 |
|
$contentMetaDataUpdateStruct->modificationDate = $this->toDateTime($step->dsl['modification_date']); |
|
@@ 98-101 (lines=4) @@
|
| 95 |
|
$contentCreateStruct->sectionId = $section->id; |
| 96 |
|
} |
| 97 |
|
|
| 98 |
|
if (isset($step->dsl['owner'])) { |
| 99 |
|
$owner = $this->getUser($step->dsl['owner']); |
| 100 |
|
$contentCreateStruct->ownerId = $owner->id; |
| 101 |
|
} |
| 102 |
|
|
| 103 |
|
// This is a bit tricky, as the eZPublish API does not support having a different creator and owner with only 1 version. |
| 104 |
|
// We allow it, hoping that nothing gets broken because of it |