function hacked_build_report_batch_finished_drush in Hacked! 6.2
Same name and namespace in other branches
- 8.2 hacked.drush.inc \hacked_build_report_batch_finished_drush()
- 7.2 hacked.drush.inc \hacked_build_report_batch_finished_drush()
Completion callback for the report batch.
1 string reference to 'hacked_build_report_batch_finished_drush'
- hacked_calculate_project_data_drush in ./
hacked.drush.inc - Compute the report data for hacked.
File
- ./
hacked.drush.inc, line 127 - Hacked drush command.
Code
function hacked_build_report_batch_finished_drush($success, $results, $operations) {
if ($success) {
// Sort the results.
usort($results['report'], '_hacked_project_report_sort_by_status');
// Store them.
cache_set('hacked:drush:full-report', $results['report'], HACKED_CACHE_TABLE, strtotime('+1 day'));
}
}