Commit 8b8b954d authored by Yoshinori Okuji's avatar Yoshinori Okuji

No need to use immediateReindexObject.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4003 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3a89e0d9
......@@ -183,7 +183,7 @@ class TemplateTool (BaseTool):
bt = self[id]
bt.id = id # Make sure id is consistent
#LOG('Template Tool', 0, 'Indexing %r, isIndexable = %r' % (bt, bt.isIndexable))
bt.immediateReindexObject()
bt.reindexObject()
if REQUEST is not None:
REQUEST.RESPONSE.redirect("%s?portal_status_message=Business+Template+Downloaded+Successfully"
......
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