summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBarracuda Team2016-05-27 02:40:33 (GMT)
committerBarracuda Team2016-05-27 02:40:33 (GMT)
commit5dfacd7edfa77f42570854e4531ba134c5cd99f7 (patch)
treee9831c1d3d3936ba9de37067f9b1568bd86ff403
parentfe5e464f5fcdb9663eec14f8d2f4598904c40308 (diff)
Revert "Issue #2729891 by helmo: Fix Debian upgrade error 3.4 to 3.5 (with hosting_git enabled)"BOA-3.1.0
This reverts commit c4d8621a46f3d82f4562b5dd5460ecc337076b91.
-rw-r--r--platform/deploy.provision.inc13
1 files changed, 0 insertions, 13 deletions
diff --git a/platform/deploy.provision.inc b/platform/deploy.provision.inc
index 71ce4ed..b15821d 100644
--- a/platform/deploy.provision.inc
+++ b/platform/deploy.provision.inc
@@ -163,19 +163,6 @@ function drush_provision_drupal_pre_provision_deploy_rollback() {
function drush_provision_drupal_provision_deploy() {
_provision_drupal_maintain_aliases();
_provision_drupal_create_directories();
-
- // If this is the hostmaster site, save the ~/.drush/drushrc.php file.
- if (d()->root == d('@hostmaster')->root && d()->uri == d('@hostmaster')->uri) {
- if (drush_bootstrap(DRUSH_BOOTSTRAP_DRUPAL_FULL)) {
- // TODO: Copied from platform/verify.provision.inc... refactor to function.
- $aegir_drushrc = new Provision_Config_Drushrc_Aegir();
- $aegir_drushrc->write();
- drush_log(dt('Regenerated ~aegir/.drush/drushrc.php from drush_provision_drupal_provision_deploy()'));
- }
- else {
- drush_log(dt('Bootstrap to DRUSH_BOOTSTRAP_DRUPAL_FULL on hostmaster site FAILED, updating the ~/.drush/drushrc.php skipped.'), 'warning');
- }
- }
}
/**