[Erp5-report] r43179 romain - /erp5/trunk/products/ERP5/Document/EmailDocument.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Feb 8 15:13:04 CET 2011


Author: romain
Date: Tue Feb  8 15:13:04 2011
New Revision: 43179

URL: http://svn.erp5.org?rev=43179&view=rev
Log:
Remove duplicated method.

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

Modified: erp5/trunk/products/ERP5/Document/EmailDocument.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/EmailDocument.py?rev=43179&r1=43178&r2=43179&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/EmailDocument.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/EmailDocument.py [utf8] Tue Feb  8 15:13:04 2011
@@ -172,13 +172,6 @@ class EmailDocument(TextDocument):
     """
     return False
 
-  security.declareProtected(Permissions.AccessContentsInformation, 'hasBaseData')
-  def hasBaseData(self):
-    """
-    """
-    return self.hasFile() or self.hasTextContent()
-
-
   security.declareProtected(Permissions.AccessContentsInformation, 'getContentInformation')
   def getContentInformation(self):
     """



More information about the Erp5-report mailing list