public function drush_version_control_backup::post_update

8.0.x backup.inc public drush_version_control_backup::post_update($project)
6.x backup.inc public drush_version_control_backup::post_update($project)
7.x backup.inc public drush_version_control_backup::post_update($project)
5.x backup.inc public drush_version_control_backup::post_update($project)
master backup.inc public drush_version_control_backup::post_update($project)

Implementation of post_update().

Overrides drush_version_control::post_update

File

commands/pm/version_control/backup.inc, line 55
Drush pm directory copy backup extension

Class

drush_version_control_backup

Code

public function post_update($project) {
  if (drush_get_option('no-backup', FALSE)) {
    return;
  }
  if ($project['backup_target']) {
    drush_log(dt("Backups were saved into the directory !backup_target.", array('!backup_target' => $project['backup_target'])), 'ok');
  }
}