Commit 2b3a6772 authored by Jérome Perrin's avatar Jérome Perrin Committed by Kazuhiko Shiozaki

ERP5Type: remove unused some methods from XMLObject

parent c59b9c9b
......@@ -92,22 +92,5 @@ class XMLObject( Folder ):
self._setDescription(value)
self.reindexObject()
security.declareProtected( Permissions.ModifyPortalContent, 'XUpdateDocument' )
def XUpdateDocument(self, xupdate):
"""
Update a document by providing an xupdate XML file
"""
pass
security.declareProtected( Permissions.ModifyPortalContent, 'fromXML' )
def fromXML(self, xml):
"""
Replace the content of this object by providing an xml content
"""
from erp5.component.module.ERP5Conduit import ERP5Conduit
conduit = ERP5Conduit()
conduit.addNode(object=self, xml=xml)
InitializeClass(XMLObject)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment