function privatemsg_devel_generate_batch_finished in Privatemsg 6.2
Same name and namespace in other branches
- 7.2 privatemsg.devel_generate.inc \privatemsg_devel_generate_batch_finished()
1 string reference to 'privatemsg_devel_generate_batch_finished'
File
- ./
privatemsg.devel_generate.inc, line 267
Code
function privatemsg_devel_generate_batch_finished($success, $results, $operations) {
if ($success) {
$message = t('Created @num_mids messages successfully.', array(
'@num_mids' => $results['num_mids'],
));
}
else {
$message = t('Finished with an error.');
}
drupal_set_message($message);
}