Closed (fixed)
Project:
Taxonomy Creation Date
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
10 Sep 2015 at 09:43 UTC
Updated:
25 Mar 2016 at 16:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jmsosso commentedI also think it's better as @Jelle_S says. Here is the code:
Best regards.
Comment #3
StoraH commentedI agree. @jmsosso created a patch with the code.
Comment #4
osopolarThe function taxonomy_creation_date_taxonomy_term_update() could also be removed, as hook_taxonomy_term_presave() will work for both, insert and update.
Comment #5
bofrost commentedI am not sure of the reason for the separate hooks. Maybe there was none ^^
Thanks for providing the patch, it is included in version 7.x.1.2 of the module.