You are here

function hosting_task_status_output in Hosting 7.3

Same name and namespace in other branches
  1. 5 task/hosting_task.module \hosting_task_status_output()
  2. 6.2 task/hosting_task.module \hosting_task_status_output()
  3. 7.4 task/hosting_task.module \hosting_task_status_output()

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 site/hosting_site.module
@todo Please document this function.

File

task/hosting_task.module, line 1587
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 {

    // should be NULL.
    return $status;
  }
}