diff --git a/product/ERP5/Document/File.py b/product/ERP5/Document/File.py index 64b830b7923a523e818c4c498f3557c06db9f29a..8157d897710bd362231cde213068628cc9667b4f 100644 --- a/product/ERP5/Document/File.py +++ b/product/ERP5/Document/File.py @@ -37,7 +37,6 @@ from Products.ERP5.Document.Document import Document from Products.ERP5.Document.Document import ConversionCacheMixin from Products.ERP5Type.Base import Base from Products.CMFDefault.File import File as CMFFile -import OFS from zLOG import LOG from DateTime import DateTime @@ -106,15 +105,6 @@ class File(Document, CMFFile, ConversionCacheMixin): # Declarative interfaces #__implements__ = ( , ) - - def __init__(self, id, *args, **kw): - """Initialize the underlying File. """ - Document.__init__(self, id, *args, **kw) - # We don't call CMFFile.__init__, because it calls DefaultDublinCoreImpl, - # which calls some setters that will not work on an ERP5Type.Base object - # before beeing in the database. - OFS.Image.File.__init__(self, id, title=None, file='') - ### Special edit method security.declarePrivate( '_edit' )