Commit 653ee9c2 authored by Kevin Deldycke's avatar Kevin Deldycke

revert my wrong previous modification

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3138 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1aee7894
...@@ -138,7 +138,7 @@ class PublicationSynchronization(XMLSyncUtils): ...@@ -138,7 +138,7 @@ class PublicationSynchronization(XMLSyncUtils):
# Get the subscriber or create it if not already in the list # Get the subscriber or create it if not already in the list
subscriber = publication.getSubscriber(subscription_url) subscriber = publication.getSubscriber(subscription_url)
if subscriber == None: if subscriber == None:
subscriber = Subscriber(self.generateNewId(),subscription_url) subscriber = Subscriber(publication.generateNewId(),subscription_url)
subscriber.setXMLMapping(publication.getXMLMapping()) subscriber.setXMLMapping(publication.getXMLMapping())
publication.addSubscriber(subscriber) publication.addSubscriber(subscriber)
# first synchronization # first synchronization
......
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