function aggregator_admin_refresh_feed

cis7 aggregator.admin.inc aggregator_admin_refresh_feed($feed)
cle7 aggregator.admin.inc aggregator_admin_refresh_feed($feed)
elmsmedia7 aggregator.admin.inc aggregator_admin_refresh_feed($feed)
icor7 aggregator.admin.inc aggregator_admin_refresh_feed($feed)
meedjum_blog7 aggregator.admin.inc aggregator_admin_refresh_feed($feed)
mooc7 aggregator.admin.inc aggregator_admin_refresh_feed($feed)

Page callback: Refreshes a feed, then redirects to the overview page.

Parameters

$feed: An object describing the feed to be refreshed.

1 string reference to 'aggregator_admin_refresh_feed'
aggregator_menu in modules/aggregator/aggregator.module
Implements hook_menu().

File

modules/aggregator/aggregator.admin.inc, line 407
Administration page callbacks for the Aggregator module.

Code

function aggregator_admin_refresh_feed($feed) {
  if (!isset($_GET['token']) || !drupal_valid_token($_GET['token'], 'aggregator/update/' . $feed->fid)) {
    return MENU_ACCESS_DENIED;
  }
  aggregator_refresh($feed);
  drupal_goto('admin/config/services/aggregator');
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.