function update_create_fetch_task

Creates a new fetch task after loading the necessary include file.

Parameters

$project: Associative array of information about a project. See update_get_projects() for the keys used.

See also

_update_create_fetch_task()

3 calls to update_create_fetch_task()
UpdateCoreTestCase::testFetchTasks in drupal/modules/update/update.test
Tests that exactly one fetch task per project is created and not more.
update_get_available in drupal/modules/update/update.module
Tries to get update information from cache and refreshes it when necessary.
_update_refresh in drupal/modules/update/update.fetch.inc
Clears out all the cached available update data and initiates re-fetching.

File

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

Code

function update_create_fetch_task($project) {
  module_load_include('inc', 'update', 'update.fetch');
  return _update_create_fetch_task($project);
}