Skip to content

Commit

Permalink
Merge branch '5.21' into 5.22
Browse files Browse the repository at this point in the history
  • Loading branch information
Davidmattei committed Dec 4, 2024
2 parents 1105390 + 2db671b commit ee3fb8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions EMS/core-bundle/src/Service/DataService.php
Original file line number Diff line number Diff line change
Expand Up @@ -1255,6 +1255,8 @@ public function trashPutBackAsDraft(ContentType $contentType, string ...$ouuids)
$this->lockRevision($revision);
$revision->setDraft(true);
$this->auditLogger->notice('log.revision.restored', LogRevisionContext::update($revision));
} else {
$revision->enableSelfUpdate();
}
$this->em->persist($revision);
}
Expand Down

0 comments on commit ee3fb8d

Please sign in to comment.