[Erp5-report] r13134 - /erp5/trunk/products/ERP5/Document/Person.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Mar 1 14:35:52 CET 2007


Author: romain
Date: Thu Mar  1 14:35:51 2007
New Revision: 13134

URL: http://svn.erp5.org?rev=13134&view=rev
Log:
Clear the cache factory of ERP5 Security

Modified:
    erp5/trunk/products/ERP5/Document/Person.py

Modified: erp5/trunk/products/ERP5/Document/Person.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Person.py?rev=13134&r1=13133&r2=13134&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Person.py (original)
+++ erp5/trunk/products/ERP5/Document/Person.py Thu Mar  1 14:35:51 2007
@@ -180,8 +180,8 @@
       self._setReference(value)
       self.reindexObject()
       # invalid the cache for ERP5Security
-      clearCache()
-    
+      clearCache(cache_factory_list=('erp5_core_short', ))
+
     security.declareProtected(Permissions.SetOwnPassword, 'setPassword')
     def setPassword(self, value) :
       """




More information about the Erp5-report mailing list