You are here

function drush_hosting_task_rollback in Hostmaster (Aegir) 6

Rollback hook for the hosting-task Drush command.

See also

hook_hosting_TASK_TYPE_task_rollback()

File

modules/hosting/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'));
}