Commit 85dcf948 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_erp5: Remove the immediateReindexObject (it is a crime and it was commited by mistake)

parent 1656ac5e
def migrateInstanceToERP5Login(self):
assert self.getPortalType() in ( 'Computer', 'Software Instance')
......@@ -9,7 +8,6 @@ def migrateInstanceToERP5Login(self):
return
if not (self.hasUserId() or self.getUserId() == reference):
self.setUserId(reference)
self.immediateReindexObject()
if len(self.objectValues(portal_type=login_portal_type)):
# already migrated
......@@ -21,4 +19,3 @@ def migrateInstanceToERP5Login(self):
)
login.validate()
login.immediateReindexObject()
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