Commit 195749c3 authored by Adrian Rossouw's avatar Adrian Rossouw Committed by adrian

#632984 - handle rollback

parent 49a9fdc1
......@@ -41,6 +41,8 @@ function drush_provision_drupal_pre_provision_migrate($url, $platform) {
* Restore the vhost conf per the original platform
*/
function drush_provision_drupal_pre_provision_migrate_rollback($url, $platform) {
drush_set_option('site_offline', 0);
_provision_drupal_create_settings_file($url);
$success = provision_path("unlink", drush_get_option('backup_file'), TRUE, dt('Removed unused migration site package'), dt('Could not remove unused migration site package'));
_provision_apache_create_vhost_config($url);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment