Add a hook_feedapi_after_purge($feed)
B-Prod - October 8, 2009 - 09:22
| Project: | FeedAPI |
| Version: | 6.x-1.x-dev |
| Component: | Code feedapi (core module) |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
Hi!
There is currently no way to interfere with operation purge. In my case, I need to reset a counter after a purge opertion, which is not possible within a proper way.
The enclosed patch gives the possibility for any module to implements the hook feedapi_after_purge($feed) which is called at the end, after all processors have run their purge operation.
| Attachment | Size |
|---|---|
| feedapi_after_purge.patch | 834 bytes |

#1
This looks good to me. Only consistent with hook_feedapi_after_refresh.
Minor cleanup:
- kill whitespace
- add changelog entry
#2
This patch should be OK.
#3
Nice. Thank you.
#4
Committed. Thanks.
#5
Automatically closed -- issue fixed for 2 weeks with no activity.