function comment_notify_update_5000 in Comment Notify 5.2
Sync up the two tables after as part of http://drupal.org/node/297791
File
- ./
comment_notify.install, line 163 - comment_notify.install.
Code
function comment_notify_update_5000() {
$return[] = update_sql("DELETE FROM {comment_notify} WHERE cid NOT IN (SELECT cid FROM {comments})");
return $return;
}