You are here

function feedapi_expire_item in FeedAPI 5

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

Callback for expired items. Does the actual deleting

2 calls to feedapi_expire_item()
_feedapi_aggregator_expire in feedapi_aggregator/feedapi_aggregator.module
Check for expired items, pass them to the item_expire function
_feedapi_node_expire in feedapi_node/feedapi_node.module
Check for expired items, pass them to the item_expire function

File

./feedapi.module, line 352
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);
  }
}