summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/hosting/clone/hosting_clone.drush.inc3
-rw-r--r--modules/hosting/migrate/hosting_migrate.drush.inc3
2 files changed, 4 insertions, 2 deletions
diff --git a/modules/hosting/clone/hosting_clone.drush.inc b/modules/hosting/clone/hosting_clone.drush.inc
index 7679975..ad3666f 100644
--- a/modules/hosting/clone/hosting_clone.drush.inc
+++ b/modules/hosting/clone/hosting_clone.drush.inc
@@ -62,7 +62,8 @@ function hosting_clone_post_hosting_clone_task($task, $data) {
node_save($clone);
- // record the backup created
+ // Record the backup created during clone.
+ $task->task_args['description'] = t('Pre-clone backup');
hosting_site_post_hosting_backup_task($task, $data);
}
}
diff --git a/modules/hosting/migrate/hosting_migrate.drush.inc b/modules/hosting/migrate/hosting_migrate.drush.inc
index b2a0858..ef8646f 100644
--- a/modules/hosting/migrate/hosting_migrate.drush.inc
+++ b/modules/hosting/migrate/hosting_migrate.drush.inc
@@ -85,7 +85,8 @@ function hosting_migrate_post_hosting_migrate_task($task, $data) {
hosting_package_sync($packages);
hosting_package_instance_sync($task->ref->nid, $packages);
- // record the backup created
+ // Record the backup created during migrate.
+ $task->task_args['description'] = t('Pre-migration backup');
hosting_site_post_hosting_backup_task($task, $data);
}
}