Commit b10361cd authored by Sebastien Robin's avatar Sebastien Robin

remove fastImmedateReindexObject


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1098 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e513c76e
...@@ -17,7 +17,7 @@ if context.cb_dataValid and error_message=='': ...@@ -17,7 +17,7 @@ if context.cb_dataValid and error_message=='':
new_id_list = map(lambda i: i['new_id'],new_item_list) new_id_list = map(lambda i: i['new_id'],new_item_list)
for my_id in new_id_list: for my_id in new_id_list:
context[my_id].flushActivity(invoke=0, method_id='immediateReindexObject') context[my_id].flushActivity(invoke=0, method_id='immediateReindexObject')
context[my_id].fastRecursiveImmediateReindexObject() context[my_id].recursiveImmediateReindexObject()
return REQUEST.RESPONSE.redirect(context.absolute_url() + '/' + form_id + '?portal_status_message=Item(s)+Pasted.') return REQUEST.RESPONSE.redirect(context.absolute_url() + '/' + form_id + '?portal_status_message=Item(s)+Pasted.')
elif context.cb_dataValid and error_message!='': elif context.cb_dataValid and error_message!='':
return REQUEST.RESPONSE.redirect(context.absolute_url() + '/' + form_id + '?portal_status_message=%s' % error_message) return REQUEST.RESPONSE.redirect(context.absolute_url() + '/' + form_id + '?portal_status_message=%s' % error_message)
......
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