summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiguel Jacq2011-01-28 00:05:14 (GMT)
committermig52011-01-28 00:05:14 (GMT)
commit2be631037585f17c0b98e0b74b0c82122068bfc9 (patch)
tree7f742a41bcc30e9108dc197a17f5426d0ca175eb
parent1fb9419e58aba625d8e51d0d31588c142198d746 (diff)
Try to restore setting of aliases on migrate and clonedev-migrate_aliases
-rw-r--r--platform/clone.provision.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/clone.provision.inc b/platform/clone.provision.inc
index 865d88a..d687063 100644
--- a/platform/clone.provision.inc
+++ b/platform/clone.provision.inc
@@ -43,8 +43,8 @@ function drush_provision_drupal_provision_clone($new_uri, $platform = null) {
$options['name'] = $new_uri;
$options['platform'] = (isset($platform)) ? $platform : $options['platform'];
$options['root'] = d($options['platform'])->root;
- $options['aliases'] = array();
- $options['redirection'] = 0;
+ $options['aliases'] = drush_get_option('aliases');
+ $options['redirection'] = drush_get_option('redirection');
if ($profile = drush_get_option('profile', FALSE)) {
$options['profile'] = $profile;