Skip to content
Snippets Groups Projects
Commit 22d50196 authored by Steven Jones's avatar Steven Jones
Browse files

Issue #3439870 by Steven Jones, dineshkumarbollu: Fix warnings on clone.

parent 59530f31
No related branches found
No related tags found
No related merge requests found
Pipeline #142759 passed
......@@ -24,11 +24,15 @@ function drush_hosting_clone_pre_hosting_task($task) {
}
if (module_exists('hosting_alias')) {
if (isset($task->task_args['aliases'])) {
$task->options['aliases'] = str_replace("\n", ",", $task->task_args['aliases']);
}
if (isset($task->task_args['redirection'])) {
$task->options['redirection'] = $task->task_args['redirection'];
}
}
}
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment