Commit ab78897d authored by anarcat's avatar anarcat

993944 rollback http configs in site installs failures

parent 386bb0ad
...@@ -17,3 +17,11 @@ function drush_http_post_provision_install() { ...@@ -17,3 +17,11 @@ function drush_http_post_provision_install() {
d()->service('http')->parse_configs(); d()->service('http')->parse_configs();
} }
/**
* Implementation of hook_provision_install_rollback()
*
* Remove the apache configs if we fail to install the site.
*/
function drush_http_provision_install_rollback() {
d()->service('http')->delete_config('site');
}
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