Commit cfd82b30 authored by KarenS's avatar KarenS
Browse files

Fix some typos in content_migrate.drush.inc.

parent 2a4b8531
...@@ -103,14 +103,14 @@ function drush_content_migrate_fields() { ...@@ -103,14 +103,14 @@ function drush_content_migrate_fields() {
} }
function drush_content_migrate_field_structure($field_name) { function drush_content_migrate_field_structure($field_name) {
drush_log(dt('Migrating structure for !field', array('!fields' => $field_name)), 'status'); drush_log(dt('Migrating structure for !field', array('!field' => $field_name)), 'status');
module_load_include('inc', 'content_migrate', 'includes/content_migrate.admin'); module_load_include('inc', 'content_migrate', 'includes/content_migrate.admin');
$context = array(); $context = array();
_content_migrate_batch_process_create_fields($field_name, $context); _content_migrate_batch_process_create_fields($field_name, $context);
} }
function drush_content_migrate_field_data($field_name) { function drush_content_migrate_field_data($field_name) {
drush_log(dt('Migrating data for !field', array('!fields' => $field_name)), 'status'); drush_log(dt('Migrating data for !field', array('!field' => $field_name)), 'status');
module_load_include('inc', 'content_migrate', 'includes/content_migrate.admin'); module_load_include('inc', 'content_migrate', 'includes/content_migrate.admin');
$context = array( $context = array(
'sandbox' => array(), 'sandbox' => array(),
...@@ -140,7 +140,7 @@ function drush_content_migrate_rollback() { ...@@ -140,7 +140,7 @@ function drush_content_migrate_rollback() {
drush_log(dt('Roll back complete'), 'status'); drush_log(dt('Roll back complete'), 'status');
} }
function drush_content_migrate_get_fields($requests = array(), $status) { function drush_content_migrate_get_fields($requests = array(), $status = 'available') {
module_load_include('inc', 'content_migrate', 'includes/content_migrate.admin'); module_load_include('inc', 'content_migrate', 'includes/content_migrate.admin');
$fields_info = content_migrate_get_options(); $fields_info = content_migrate_get_options();
$field_names = array(); $field_names = array();
......
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