You are here

function drafty_delete_batch_finished in Drafty 7

Batch completion callback for when draft-deletes happen in a batch job. $results contains info about successfully deleted revisions, and exception objects for revision-delete options that caused problems. $operations contains the operations that remained unprocessed.

1 string reference to 'drafty_delete_batch_finished'
Drafty::restorePublishedRevisions in ./drafty.module
Publish revisions previously set with setRevisionToBePublished().

File

./drafty.module, line 162
Hook implementations and API functions for the Drafty module.

Code

function drafty_delete_batch_finished($success, $results, $operations) {

  // TODO: Display a message about temporary-revision-cleanup here?
  // Note that logging of failed deletes is handled by the operation callback.
}