Commit 345db294 authored by Adrian Rossouw's avatar Adrian Rossouw

Remove the constraint of not being able to migrate to platforms on different web servers.

parent bc1f78b9
......@@ -132,16 +132,14 @@ function hosting_task_migrate_form($node) {
'!url' => url('hosting/migrate/compare/' . $node->nid . '/' . $profile_instance->iid))
);
$platform = node_load($profile_instance->rid);
if ($platform->web_server == $site_platform->web_server) {
$form[$platform->nid]['target_platform'] = array(
'#type' => 'radio',
'#title' => $platform->title,
'#parents' => array('parameters', 'target_platform'),
"#return_value" => $platform->nid,
'#description' => $description,
);
}
$form[$platform->nid]['target_platform'] = array(
'#type' => 'radio',
'#title' => $platform->title,
'#parents' => array('parameters', 'target_platform'),
"#return_value" => $platform->nid,
'#description' => $description,
);
if ($status['error']) {
$form[$platform->nid]['target_platform']['#disabled'] = TRUE;
}
......
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