If some one (like me) has installed Node Comments (http://drupal.org/project/nodecomment) it remplace the table comments and include the comments into the table "node".
The problem is when the cron is running it cause a warning because this line in abuse_cron
db_query("DELETE FROM {abuse_status} WHERE type='comment' AND oid NOT IN (SELECT cid FROM {comments})");
is broken.
For example, in the abuse_cron() I add this lines:
if (db_query('SHOW TABLES LIKE {comments}')) {
db_query("DELETE FROM {abuse_status} WHERE type='comment' AND oid NOT IN (SELECT cid FROM {comments})");
}
Comments
Comment #1
killua99 commenteda patch
Comment #2
avpadernoI am closing this issue, since it is for a Drupal version no longer supported.