From 8517282ca08fb6d22e3f1f4a2d9ca9f146d5213e Mon Sep 17 00:00:00 2001
From: Vincent Pelletier <vincent@nexedi.com>
Date: Tue, 5 Feb 2008 18:14:53 +0000
Subject: [PATCH] It is not needed any more to rollback transaction: we just
 called abort.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19077 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/CMFActivity/Activity/SQLQueue.py | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/product/CMFActivity/Activity/SQLQueue.py b/product/CMFActivity/Activity/SQLQueue.py
index 75e43bdc15..750455d683 100644
--- a/product/CMFActivity/Activity/SQLQueue.py
+++ b/product/CMFActivity/Activity/SQLQueue.py
@@ -296,13 +296,6 @@ class SQLQueue(RAMQueue, SQLBase):
           # of the transaction fails
           value[1].is_executed = 0
           try:
-            # Rollback all changes made on activity connection.
-            # We will commit to make messages available, and we cannot control
-            # what was done by the activity: it might have used the activity
-            # connection. As the transaction failed, we must rollback these
-            # potential changes before being allowed to commit in
-            # makeMessageListAvailable.
-            activity_tool.SQLQueue_rollback()
             makeMessageListAvailable([value[0]])
           except:
             LOG('SQLQueue', PANIC, 'Failed to free message: %r' % (value, ), error=sys.exc_info())
-- 
2.30.9