diff --git a/product/ERP5Type/Base.py b/product/ERP5Type/Base.py
index 4cbf700880beee13da41135a65d521a3c6968652..14ea29e1b83afeb1883e8e0dab3a5a41fb093bc9 100644
--- a/product/ERP5Type/Base.py
+++ b/product/ERP5Type/Base.py
@@ -544,8 +544,6 @@ def initializePortalTypeDynamicProperties(self, klass, ptype, aq_key, portal):
   from Products.ERP5Type.Cache import initializePortalCachingProperties
   initializePortalCachingProperties(portal)
 
-  id = ''
-  #LOG('before aq_portal_type %s' % id, 0, str(ptype))
   if aq_key not in Base.aq_portal_type:
     # Mark as generated
     prop_holder = PropertyHolder()