function feedapi_purge_confirm_submit in FeedAPI 6
Same name and namespace in other branches
- 5 feedapi.module \feedapi_purge_confirm_submit()
Submitted items purging form. Drop all the items.
File
- ./
feedapi.module, line 315 - Handle the submodules (for feed and item processing) Provide a basic management of feeds
Code
function feedapi_purge_confirm_submit($form, &$form_state) {
$feed->nid = $form_state['values']['nid'];
feedapi_invoke('purge', $feed);
$form_state['redirect'] = 'node/' . $form_state['values']['nid'];
}