Skip to content

Commit

Permalink
updated syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
montypie committed May 27, 2014
1 parent cbccd42 commit 9bbb694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Products/Archetypes/subscribers.py
Expand Up @@ -4,4 +4,4 @@
def updateCreationOnCopy(obj, event):
""" Update creation date when object duplicated via copy/paste"""
obj.setCreationDate(DateTime())
obj.reindexObject('CreationDate')
obj.reindexObject(idxs=['created'])

0 comments on commit 9bbb694

Please sign in to comment.