Commit e78c3cae authored by Nicolas Delaby's avatar Nicolas Delaby

Copy modification as Subcription side

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14968 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f9eda865
......@@ -221,14 +221,14 @@ class PublicationSynchronization(XMLSyncUtils):
return {'has_response':1,'xml':xml_a}
def PubSync(self, id, msg=None, RESPONSE=None, subscriber=None):
def PubSync(self, publication, msg=None, RESPONSE=None, subscriber=None):
"""
This is the synchronization method for the server
"""
#LOG('PubSync',0,'Starting... id: %s' % str(id))
# Read the request from the client
xml_client = msg
publication = self.getPublication(id)
publication
if xml_client is None:
xml_client = self.readResponse(from_url=publication.getPublicationUrl())
#LOG('PubSync',0,'Starting... msg: %s' % str(xml_client))
......
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