You are here

function drush_hosting_task_rollback in Hosting 6.2

Same name and namespace in other branches
  1. 7.4 task.hosting.inc \drush_hosting_task_rollback()
  2. 7.3 task.hosting.inc \drush_hosting_task_rollback()

Rollback hook for the hosting-task Drush command.

See also

hook_hosting_TASK_TYPE_task_rollback()

File

./task.hosting.inc, line 141
Drush include for the Hosting module's hosting task command.

Code

function drush_hosting_task_rollback() {
  $task =& drush_get_context('HOSTING_TASK');
  module_invoke_all(sprintf("hosting_%s_task_rollback", str_replace('-', '_', $task->task_type)), $task, drush_get_context('HOSTING_DRUSH_OUTPUT'));
}