You are here

function feedapi_expire_item in FeedAPI 6

Same name and namespace in other branches
  1. 5 feedapi.module \feedapi_expire_item()

Callback for expired items. Does the actual deleting

1 call to feedapi_expire_item()
_feedapi_node_expire in feedapi_node/feedapi_node.module
Check for expired items, pass them to the item_expire function

File

./feedapi.module, line 343
Handle the submodules (for feed and item processing) Provide a basic management of feeds

Code

function feedapi_expire_item($feed, $item) {
  foreach ($feed->processors as $processor) {
    module_invoke($processor, 'feedapi_item', 'delete', $item, $feed->nid);
  }
}