Posted by B-Prod on October 8, 2009 at 9:22am
| Project: | FeedAPI |
| Version: | 6.x-1.x-dev |
| Component: | Code feedapi (core module) |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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 |
Comments
#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.