You are here

function drush_hosting_post_hosting_task in Hostmaster (Aegir) 6

Post completion hook for the hosting-task Drush command.

See also

hook_post_hosting_TASK_TYPE_task()

File

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

Code

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