You are here

function comment_notify_update_6000 in Comment Notify 6

Sync up the two tables after as part of http://drupal.org/node/297791

File

./comment_notify.install, line 104
comment_notify.install.

Code

function comment_notify_update_6000() {
  $return[] = update_sql("DELETE FROM {comment_notify} WHERE cid NOT IN (SELECT cid FROM {comments})");
  return $return;
}