Commit 3de35d4f authored by Jérome Perrin's avatar Jérome Perrin

use transcation module


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26928 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6e85fa4a
......@@ -16,6 +16,7 @@
#
##############################################################################
import transaction
import Globals
import App
from types import StringTypes
......@@ -302,7 +303,6 @@ class InteractionWorkflowDefinition (DCWorkflowDefinition, ActiveObject):
script(sci) # May throw an exception
# Execute Before Commit
transaction = get_transaction()
for script_name in tdef.before_commit_script_name:
script = self.scripts[script_name]
transaction.beforeCommitHook(script, sci)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment