You are here

function aggregator_admin_remove_feed_submit in Drupal 6

Same name and namespace in other branches
  1. 4 modules/aggregator.module \aggregator_admin_remove_feed_submit()
  2. 5 modules/aggregator/aggregator.module \aggregator_admin_remove_feed_submit()
  3. 7 modules/aggregator/aggregator.admin.inc \aggregator_admin_remove_feed_submit()

Remove all items from a feed and redirect to the overview page.

Parameters

$feed: An associative array describing the feed to be cleared.

File

modules/aggregator/aggregator.admin.inc, line 208
Admin page callbacks for the aggregator module.

Code

function aggregator_admin_remove_feed_submit($form, &$form_state) {
  aggregator_remove($form_state['values']['feed']);
  $form_state['redirect'] = 'admin/content/aggregator';
}