Commit 519ca741 authored by mig5's avatar mig5 Committed by mig5

#955184 - fix backup so that it inherits the cloaking policy of the service...

#955184 - fix backup so that it inherits the cloaking policy of the service type. was assuming true if not set in drushrc, and recloaking nginx sites
parent 65868125
......@@ -61,7 +61,8 @@ function drush_provision_drupal_provision_backup() {
d()->service('http')->fetch(d()->site_path . '/files/');
// Check if we are currently cloaking credentials
$cloaked = drush_get_option('provision_db_cloaking', TRUE);
$cloaked = d()->service('http')->cloaked_db_creds();
$cloaked = drush_get_option('provision_db_cloaking', $cloaked);
if ($cloaked) {
drush_set_option('cloaking_off_temp', TRUE);
......
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