You are here

function hosting_task_status_output in Hostmaster (Aegir) 6

Return the status of a task in human-readable form

See also

hosting_task_status()

1 call to hosting_task_status_output()
hosting_site_task_status in modules/hosting/site/hosting_site.module

File

modules/hosting/task/hosting_task.module, line 920
Web server node type is defined here.

Code

function hosting_task_status_output($filter_by, $filter_value, $type = 'install') {
  $status = hosting_task_status($filter_by, $filter_value, $type);
  if (is_int($status)) {
    return _hosting_parse_error_code($status);
  }
  else {
    return $status;

    # should be NULL
  }
}