public function drush_pm_version_control_backup::post_update

3.x backup.inc public drush_pm_version_control_backup::post_update($project)
4.x backup.inc public drush_pm_version_control_backup::post_update($project)

Implementation of post_update().

Overrides drush_pm_version_control::post_update

File

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

Class

drush_pm_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');
  }
}