Commit a04611c6 authored by anarcat's avatar anarcat Committed by anarcat

silence some warnings

parent a6e72bf5
......@@ -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');
}
......@@ -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'),
......
......@@ -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);
......
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