|
@@ 93-96 (lines=4) @@
|
| 90 |
|
$contentCreateStruct->sectionId = $section->id; |
| 91 |
|
} |
| 92 |
|
|
| 93 |
|
if (isset($step->dsl['owner'])) { |
| 94 |
|
$owner = $this->getUser($step->dsl['owner']); |
| 95 |
|
$contentCreateStruct->ownerId = $owner->id; |
| 96 |
|
} |
| 97 |
|
|
| 98 |
|
// This is a bit tricky, as the eZPublish API does not support having a different creator and owner with only 1 version. |
| 99 |
|
// We allow it, hoping that nothing gets broken because of it |
|
@@ 264-267 (lines=4) @@
|
| 261 |
|
$contentMetaDataUpdateStruct->remoteId = $step->dsl['new_remote_id']; |
| 262 |
|
} |
| 263 |
|
|
| 264 |
|
if (isset($step->dsl['owner'])) { |
| 265 |
|
$owner = $this->getUser($step->dsl['owner']); |
| 266 |
|
$contentMetaDataUpdateStruct->ownerId = $owner->id; |
| 267 |
|
} |
| 268 |
|
|
| 269 |
|
if (isset($step->dsl['modification_date'])) { |
| 270 |
|
$contentMetaDataUpdateStruct->modificationDate = $this->toDateTime($step->dsl['modification_date']); |