function drush_hosting_task_rollback in Hosting 7.4
Same name and namespace in other branches
- 6.2 task.hosting.inc \drush_hosting_task_rollback()
- 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 594 - Drush include for the Hosting module's hosting task command.
Code
function drush_hosting_task_rollback() {
$task =& drush_get_context('HOSTING_TASK');
$hook = sprintf("hosting_%s_task_rollback", str_replace('-', '_', $task->task_type));
drush_log(dt('Invoking :hook hooks.', array(
':hook' => $hook,
)));
module_invoke_all($hook, $task, drush_get_context('HOSTING_DRUSH_OUTPUT'));
}