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.

Comments

alex_b’s picture

Status: Needs review » Needs work

This looks good to me. Only consistent with hook_feedapi_after_refresh.

Minor cleanup:

- kill whitespace
- add changelog entry

b-prod’s picture

Status: Needs work » Needs review
StatusFileSize
new1.42 KB

This patch should be OK.

alex_b’s picture

Status: Needs review » Reviewed & tested by the community

Nice. Thank you.

aron novak’s picture

Status: Reviewed & tested by the community » Fixed

Committed. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.