From 4d72af1293b28c00761784011207fbd2c456285c Mon Sep 17 00:00:00 2001 From: mhsdesign <85400359+mhsdesign@users.noreply.github.com> Date: Wed, 27 Nov 2024 21:56:34 +0100 Subject: [PATCH] TASK: Move transactional logic _on_ projection as it does not belong to the subscription store ... which technically only coincidentally uses the same connection and dbal instance see https://github.com/neos/neos-development-collection/pull/5321#issuecomment-2495670705 --- .../DoctrineSubscriptionStore.php | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/Classes/Factory/SubscriptionStore/DoctrineSubscriptionStore.php b/Classes/Factory/SubscriptionStore/DoctrineSubscriptionStore.php index 9c7c9e9..fe5f038 100644 --- a/Classes/Factory/SubscriptionStore/DoctrineSubscriptionStore.php +++ b/Classes/Factory/SubscriptionStore/DoctrineSubscriptionStore.php @@ -169,19 +169,4 @@ public function transactional(\Closure $closure): mixed { return $this->dbal->transactional($closure); } - - public function createSavepoint(): void - { - $this->dbal->createSavepoint('SUBSCRIBER'); - } - - public function releaseSavepoint(): void - { - $this->dbal->releaseSavepoint('SUBSCRIBER'); - } - - public function rollbackSavepoint(): void - { - $this->dbal->rollbackSavepoint('SUBSCRIBER'); - } }