Commit 8eebc5f5 authored by drumm's avatar drumm Committed by Neil Drumm

code style

parent 02e5c292
......@@ -55,7 +55,8 @@ function db_drush_init($url = null) {
'master_db_user' => 'user',
'master_db_passwd' => 'pass',
'master_db_host' => 'host',
'master_db_type' => 'type');
'master_db_type' => 'type',
);
foreach ($options as $option => $key) {
$creds[$key] = drush_get_option($option, '');
......
......@@ -80,14 +80,15 @@ function _provision_context_init($url) {
drush_set_default('language', 'en');
drush_set_default('aliases', array());
}
}
define('PROVISION_CONTEXT_SERVER', $context == 'server');
define('PROVISION_CONTEXT_PLATFORM', $context == 'platform');
define('PROVISION_CONTEXT_SITE', $context == 'site');
$is_run = TRUE;
define('PROVISION_CONTEXT_SERVER', $context === 'server');
define('PROVISION_CONTEXT_PLATFORM', $context === 'platform');
define('PROVISION_CONTEXT_SITE', $context === 'site');
drush_log(dt('Using context @context', array('@context' => $context)));
$is_run = 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