From 9ddc1eb6c24f083c3c91ecd8ff4781b58e5e0a9e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Mon, 12 Nov 2007 10:47:54 +0000
Subject: [PATCH] add again the "# Change user if required (TO BE DONE)"
 comment. I removed it because I misunderstood it. We should compare current
 user and only change if it's different from this message user (if it's
 faster)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17527 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/CMFActivity/ActivityTool.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/product/CMFActivity/ActivityTool.py b/product/CMFActivity/ActivityTool.py
index eca870fde2..806331298b 100644
--- a/product/CMFActivity/ActivityTool.py
+++ b/product/CMFActivity/ActivityTool.py
@@ -187,6 +187,7 @@ class Message:
     try:
       obj = self.getObject(activity_tool)
       old_security_manager = getSecurityManager()
+      # Change user if required (TO BE DONE)
       # We will change the user only in order to execute this method
       user = self.changeUser(self.user_name, activity_tool)
       try:
-- 
2.30.9