You are here

function revision_scheduler_operation_delete_multiple in Revision scheduler 7

Delete multiple scheduled revision operations from the database.

Parameters

array $ids: An array of scheduled operation IDs.

1 call to revision_scheduler_operation_delete_multiple()
revision_scheduler_operation_delete in ./revision_scheduler.module
Delete a scheduled revision operation from the database.

File

./revision_scheduler.module, line 541

Code

function revision_scheduler_operation_delete_multiple(array $ids) {
  if ($operations = revision_scheduler_operation_load_multiple($ids)) {
    db_delete('revision_scheduler')
      ->condition('id', $ids, 'IN')
      ->execute();
  }
}