Skip to content

Commit

Permalink
Update CreateSnapshotService.php (#1548)
Browse files Browse the repository at this point in the history
  • Loading branch information
jordisala1991 authored Aug 11, 2022
1 parent 5000440 commit 3f33e83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Service/CreateSnapshotService.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function createBySite(SiteInterface $site): void
}

if ($this->snapshotManager instanceof BaseEntityManager) {
$this->snapshotManager->getEntityManager()->beginTransaction();
$this->snapshotManager->getEntityManager()->commit();
}
}

Expand Down

0 comments on commit 3f33e83

Please sign in to comment.