Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
provision
Commits
a04611c6
Commit
a04611c6
authored
Aug 26, 2009
by
anarcat
Committed by
anarcat
Aug 26, 2009
Browse files
silence some warnings
parent
a6e72bf5
Changes
3
Hide whitespace changes
Inline
Side-by-side
db_server/deploy.provision.inc
View file @
a04611c6
...
...
@@ -28,5 +28,5 @@ function drush_provision_mysql_provision_deploy_rollback($url = NULL) {
function
drush_provision_mysql_post_provision_deploy
(
$url
=
NULL
)
{
provision_path
(
'unlink'
,
drush_get_option
(
'sites_path'
)
.
'/'
.
$url
.
'/database.sql'
,
TRUE
,
dt
(
"Removed dump file @path after restoring from it"
),
dt
(
"Could not remove dump file @path"
),
DRUSH_PERM_ERROR
);
dt
(
"Could not remove dump file @path"
),
'
DRUSH_PERM_ERROR
'
);
}
db_server/restore.provision.inc
View file @
a04611c6
...
...
@@ -42,7 +42,7 @@ function drush_provision_mysql_pre_provision_restore_rollback($url = NULL) {
function
drush_provision_mysql_post_provision_restore
(
$url
=
NULL
)
{
provision_path
(
'unlink'
,
drush_get_option
(
'sites_path'
)
.
'/'
.
$url
.
'/database.sql'
,
TRUE
,
dt
(
"Removed dump file @path after restoring from it"
),
dt
(
"Could not remove dump file @path"
),
DRUSH_PERM_ERROR
);
dt
(
"Could not remove dump file @path"
),
'
DRUSH_PERM_ERROR
'
);
$db_grant_host
=
_provision_mysql_grant_host
(
drush_get_option
(
'db_host'
,
''
,
'site'
),
...
...
platform/restore.provision.inc
View file @
a04611c6
...
...
@@ -63,7 +63,7 @@ function drush_provision_drupal_provision_restore($url) {
provision_path
(
"switch_paths"
,
$old
,
$new
,
dt
(
'Swapping out the @path and @confirm directories was successful.'
),
dt
(
'Swapping the @path and @confirm directories has failed.'
),
DRUSH_PERM_ERROR
);
'
DRUSH_PERM_ERROR
'
);
// make sure it has the latest site data available
_provision_drupal_create_settings_file
(
$url
);
provision_save_site_data
(
$url
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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