Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
P
provision
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Drupal.org issue queue
Drupal.org issue queue
Security & Compliance
Security & Compliance
Dependency List
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
project
provision
Commits
3a86e180
Commit
3a86e180
authored
May 04, 2010
by
drumm
Committed by
Neil Drumm
May 04, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
master_db will actually be used
parent
a2e67930
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
db/db.drush.inc
db/db.drush.inc
+2
-2
No files found.
db/db.drush.inc
View file @
3a86e180
...
...
@@ -26,7 +26,7 @@ function db_drush_init($url = null) {
provision_service
(
'db'
,
new
$class
());
}
}
else
{
else
if
(
PROVISION_CONTEXT_SITE
)
{
// todo should be constructed based on drush aliases
include_once
(
'mysql/mysql_service.inc'
);
provision_service
(
'db'
,
new
provisionService_db_mysql
());
...
...
@@ -308,7 +308,7 @@ class provisionService_db extends provisionService {
* Write out server's drushrc alias file.
*/
function
write_alias
()
{
$config
=
new
provisionConfig_drushrc_alias
(
drush_get_option
(
'hosting_name'
)
.
'-'
.
drush_get_option
(
'init_db'
),
array
(
'
db_host'
,
'master_db_host'
,
'master_db_user'
,
'master_db_passwd
'
));
$config
=
new
provisionConfig_drushrc_alias
(
drush_get_option
(
'hosting_name'
)
.
'-'
.
drush_get_option
(
'init_db'
),
array
(
'
master_db
'
));
$config
->
write
();
}
}
...
...
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