function update_finished

7.x update.inc update_finished($success, $results, $operations)
6.x update.php update_finished($success, $results, $operations)
1 string reference to 'update_finished'
update_batch in drupal-6.x/update.php

File

drupal-6.x/update.php, line 288
Administrative page for handling updates from one Drupal version to another.

Code

function update_finished($success, $results, $operations) {
  // clear the caches in case the data has been updated.
  drupal_flush_all_caches();

  $_SESSION['update_results'] = $results;
  $_SESSION['update_success'] = $success;
  $_SESSION['updates_remaining'] = $operations;
}