Commit 81c4492f authored by Sebastien Robin's avatar Sebastien Robin

do not need to recursive immediate reindex object


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2503 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b1f656fa
......@@ -686,7 +686,7 @@ be a problem)."""
if found:
corrected_list.append(object)
object.setCategoryList(new_category_list)
object.recursiveImmediateReindexObject()
object.immediateReindexObject()
if delete:
if len(from_object.portal_categories.getRelatedValueList(from_object))==0:
parent = from_object.getParent()
......
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