You are here

function update_task_list in Drupal 6

Same name and namespace in other branches
  1. 7 update.php \update_task_list()

Add the update task list to the current page.

3 calls to update_task_list()
update_info_page in ./update.php
update_results_page in ./update.php
update_selection_page in ./update.php
Renders a form with a list of available database updates.

File

./update.php, line 555
Administrative page for handling updates from one Drupal version to another.

Code

function update_task_list($active = NULL) {

  // Default list of tasks.
  $tasks = array(
    'info' => 'Overview',
    'select' => 'Select updates',
    'run' => 'Run updates',
    'finished' => 'Review log',
  );
  drupal_set_content('left', theme('task_list', $tasks, $active));
}