You are here

function _feedapi_aggregator_delete in FeedAPI 5

Delete item and category data

File

feedapi_aggregator/feedapi_aggregator.module, line 476

Code

function _feedapi_aggregator_delete($feed_item, $feed_nid, $settings = array()) {
  db_query('DELETE FROM {feedapi_aggregator_category_item} WHERE iid = %d' . $feed_item->fiid);
  db_query('DELETE FROM {feedapi_aggregator_item} WHERE iid = %d' . $feed_item->fiid);
}