function dba_statpack_batch_complete in Database Administration 7
1 string reference to 'dba_statpack_batch_complete'
File
- ./
dba.statpack.inc, line 111
Code
function dba_statpack_batch_complete($success, $results, $operations) {
if ($success) {
$_SESSION['dba_statpack_reports'] = $results;
}
else {
// Cleanup if necessary
if (isset($_SESSION['dba_statpack_reports'])) {
unset($_SESSION['dba_statpack_reports']);
}
if (isset($_SESSION['dba_statpack_interval'])) {
unset($_SESSION['dba_statpack_interval']);
}
drupal_set_message(t('Unexpected error; failed to generate report.'));
}
}