You are here

function update_fetch_data in Drupal 7

Same name and namespace in other branches
  1. 8 core/modules/update/update.module \update_fetch_data()
  2. 9 core/modules/update/update.module \update_fetch_data()

Attempts to fetch update data after loading the necessary include file.

See also

_update_fetch_data()

2 calls to update_fetch_data()
update_cron in modules/update/update.module
Implements hook_cron().
update_get_available in modules/update/update.module
Tries to get update information from cache and refreshes it when necessary.

File

modules/update/update.module, line 477
Handles updates of Drupal core and contributed projects.

Code

function update_fetch_data() {
  module_load_include('inc', 'update', 'update.fetch');
  return _update_fetch_data();
}