Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
provision
Commits
8eebc5f5
Commit
8eebc5f5
authored
Apr 16, 2010
by
drumm
Committed by
Neil Drumm
Apr 16, 2010
Browse files
code style
parent
02e5c292
Changes
2
Hide whitespace changes
Inline
Side-by-side
db/db.drush.inc
View file @
8eebc5f5
...
...
@@ -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
,
''
);
...
...
platform/provision_drupal.drush.inc
View file @
8eebc5f5
...
...
@@ -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
;
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment