Closed (fixed)
Project:
Flag
Version:
7.x-3.x-dev
Component:
Flag core
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
9 Aug 2012 at 09:52 UTC
Updated:
30 Aug 2012 at 16:01 UTC
Jump to comment: Most recent file
Hooks with an $op parameter are soooooooooo Drupal 6 man.
Let's split this into hook_flag_flag() and hook_flag_unflag().
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 1720402.flag_.kill-hook-flag.patch | 5.2 KB | joachim |
Comments
Comment #1
joachim commentedShould do #1720196: invoke Rules event alongside rather than within hook invocation first, which will simplify this one.
Comment #2
joachim commentedLet's see what the testbot says.
Comment #3
joachim commentedIssue #1720402 by joachim: Split hook_flag() into hook_flag_flag() and hook_flag_unflag().
Committed with a couple of tweaks:
- api.php file still had hook_flag() instead of hook_flag_flag().
- added note to flag_flag_trigger() to explain it's a helper function
And finally: http://en.wikipedia.org/wiki/James_while_John_had_had_had_had_had_had_ha... ;)