You are here

function flatcomments_existing_finished in Flatcomments 6

Same name and namespace in other branches
  1. 6.2 flatcomments_existing/flatcomments_existing.admin.inc \flatcomments_existing_finished()

Print message when finished. This is a batch operation.

1 string reference to 'flatcomments_existing_finished'
flatcomments_existing_form_submit_2 in flatcomments_existing/flatcomments_existing.admin.inc
Form submit handler - second pass. Starts a batch of required operations.

File

flatcomments_existing/flatcomments_existing.admin.inc, line 135
Administrative callbacks to provide the functionality of flattening previously existing comments.

Code

function flatcomments_existing_finished($processed_types, &$context) {
  $types = implode(', ', $processed_types);
  drupal_set_message(t('Threading information was successfully removed from comments on %types content type(s).', array(
    '%types' => $types,
  )));
  watchdog('content', 'Removed threading information from comments on %types content type(s).', array(
    '%types' => $types,
  ));
}