You are here

function feedapi_purge_confirm_submit in FeedAPI 5

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

Submitted items purging form. Drop all the items.

File

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

Code

function feedapi_purge_confirm_submit($form_id, $form_values) {
  $feed->nid = $form_values['nid'];
  feedapi_invoke('purge', $feed, 'items_confirmed');
  return 'node/' . $form_values['nid'];
}