Skip to content

Commit

Permalink
Fix #2951. Comment out legacy code and hope for the best.
Browse files Browse the repository at this point in the history
  • Loading branch information
weitzman committed Sep 25, 2017
1 parent 15999e4 commit 20749fb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Commands/core/SiteInstallCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,11 @@ public function pre(CommandData $commandData)
$db_spec = $sql->getDbSpec();

$aliasRecord = $this->siteAliasManager()->getSelf();
$sites_subdir = drush_sitealias_local_site_path($aliasRecord->legacyRecord());


// @todo The function below is inscrutable. Would rather not port it. Please pass --sites-subdir for now.
// $sites_subdir = drush_sitealias_local_site_path($aliasRecord->legacyRecord());

// Override with sites-subdir if specified.
if ($dir = $commandData->input()->getOption('sites-subdir')) {
$sites_subdir = "sites/$dir";
Expand Down

0 comments on commit 20749fb

Please sign in to comment.