By joachim on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
7.x-3.x
Issue links:
Description:
Unlike hook_flag()'s 'unflag' $op, hook_flag_unflag() and the Rules and Trigger events are invoked before the flagging record and flagging entity are deleted.
The flag count is still decreased before the hook and events are invoked, however.
For the change from hook_flag() to hook_flag_unflag(), see this change record: http://drupal.org/node/1734814
Impacts:
Site builders, administrators, editors
Module developers