function aggregator_admin_refresh_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
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');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.