Commit 4c2121f7 authored by mig5's avatar mig5 Committed by mig5

#629042 by willieseabrook - fix invocation of provision_drupal_config hook for extra vhost settings

parent 68f98302
......@@ -187,11 +187,7 @@ function _provision_drupal_create_settings_file($url = NULL) {
}
$options['extra_config'] = "# Extra configuration from modules:\n";
foreach (drush_command_implements('provision_drupal_config') as $module) {
$options['extra_config'] .= "# -- $module settings --\n";
$options['extra_config'] .= module_invoke($module, 'provision_drupal_config', $url) . "\n";
}
$options['extra_config'] .= join("\n", drush_command_invoke_all('provision_drupal_config', $url, $options));
drush_log(dt("Generate settings.php file"));
if (provision_path("exists", "sites/$url/settings.php")) {
......
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