You are here

function aggregator_admin_remove_feed in Drupal 5

Same name and namespace in other branches
  1. 4 modules/aggregator.module \aggregator_admin_remove_feed()
  2. 6 modules/aggregator/aggregator.admin.inc \aggregator_admin_remove_feed()
  3. 7 modules/aggregator/aggregator.admin.inc \aggregator_admin_remove_feed()
1 string reference to 'aggregator_admin_remove_feed'
aggregator_menu in modules/aggregator/aggregator.module
Implementation of hook_menu().

File

modules/aggregator/aggregator.module, line 1006
Used to aggregate syndicated content (RSS, RDF, and Atom).

Code

function aggregator_admin_remove_feed($fid) {
  $feed = aggregator_get_feed($fid);
  return confirm_form(array(
    'feed' => array(
      '#type' => 'value',
      '#value' => $feed,
    ),
  ), t('Are you sure you want to remove all items from the feed %feed?', array(
    '%feed' => $feed['title'],
  )), 'admin/content/aggregator', t('This action cannot be undone.'), t('Remove items'), t('Cancel'));
}