function pm_update_finish

8.0.x updatecode.pm.inc pm_update_finish($project, $version_control)
7.x updatecode.pm.inc pm_update_finish($project, $version_control)
master updatecode.pm.inc pm_update_finish($project, $version_control)

Run the post-update hooks after updatecode is finished for one project.

2 calls to pm_update_finish()
pm_update_packages in commands/pm/updatecode.pm.inc
Update projects according to an array of releases and print the release notes for each project, following interactive confirmation from the user.
_pm_update_core in commands/pm/updatecode.pm.inc
Update drupal core, following interactive confirmation from the user.

File

commands/pm/updatecode.pm.inc, line 375
pm-updatecode command implementation.

Code

function pm_update_finish($project, $version_control) {
  drush_print(dt('Project !project was updated successfully. Installed version is now !version.', array('!project' => $project['name'], '!version' => $project['candidate_version'])));
  drush_command_invoke_all('pm_post_update', $project['name'], $project['releases'][$project['candidate_version']], $project);
  $version_control->post_update($project);
}