You are here

function revisioning_scheduler_update_7015 in Revisioning 8

Same name and namespace in other branches
  1. 7 revisioning_scheduler/revisioning_scheduler.install \revisioning_scheduler_update_7015()

Delete scheduled publication of revisions of already deleted nodes.

File

revisioning_scheduler/revisioning_scheduler.install, line 60
Database schema for Revisioning Scheduler module.

Code

function revisioning_scheduler_update_7015() {
  db_query('DELETE FROM {revisioning_scheduler} WHERE revision_nid NOT IN (SELECT nid FROM {node})');
}