From 223c8f8812ffba9e7b3c78f7f969d71f66a05d16 Mon Sep 17 00:00:00 2001 From: Tim Steiner <tsteiner2@unl.edu> Date: Tue, 13 Jul 2010 19:06:54 +0000 Subject: [PATCH] Making a change to drush so that it doesn't drop any database tables when doing site installs. git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x@136 20a16fea-79d4-4915-8869-1ea9d5ebf173 --- sites/all/modules/drush/commands/core/site_install.drush.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sites/all/modules/drush/commands/core/site_install.drush.inc b/sites/all/modules/drush/commands/core/site_install.drush.inc index f48bf9b3..06a7561c 100644 --- a/sites/all/modules/drush/commands/core/site_install.drush.inc +++ b/sites/all/modules/drush/commands/core/site_install.drush.inc @@ -54,6 +54,8 @@ function drush_core_pre_site_install() { // Now we can bootstrap up to the specified site if not already there. drush_bootstrap(DRUSH_BOOTSTRAP_DRUPAL_SITE); + // Don't drop databases. No idea why they wanted to do that. + return; // Drop and create DB if needed. // TODO: support db-su like sql sync. -- GitLab