Revision 582db59d
Added by Assos Assos almost 9 years ago
drupal7/includes/batch.inc | ||
---|---|---|
460 | 460 |
if (isset($batch_set['file']) && is_file($batch_set['file'])) { |
461 | 461 |
include_once DRUPAL_ROOT . '/' . $batch_set['file']; |
462 | 462 |
} |
463 |
if (function_exists($batch_set['finished'])) {
|
|
463 |
if (is_callable($batch_set['finished'])) {
|
|
464 | 464 |
$queue = _batch_queue($batch_set); |
465 | 465 |
$operations = $queue->getAllItems(); |
466 |
$batch_set['finished']($batch_set['success'], $batch_set['results'], $operations, format_interval($batch_set['elapsed'] / 1000));
|
|
466 |
call_user_func($batch_set['finished'], $batch_set['success'], $batch_set['results'], $operations, format_interval($batch_set['elapsed'] / 1000));
|
|
467 | 467 |
} |
468 | 468 |
} |
469 | 469 |
} |
Also available in: Unified diff
Update Drupal core to version 7.40