Invalid message:

Potential problem: "SELECT FROM {node}" statements should probably be wrapped in db_rewrite_sql() and with the alias for {node} table defined (e.g. {node} n)	Other	linkchecker.batch.inc	13	N/A	
Potential problem: "SELECT FROM {node}" statements should probably be wrapped in db_rewrite_sql() and with the alias for {node} table defined (e.g. {node} n)	Other	linkchecker.batch.inc	57	N/A	

db_rewrite_sql() is not available in D7.

Found in automated testing.

Comments

hass’s picture

Project: Coder » Coder Tough Love
Version: 7.x-1.x-dev » 6.x-1.x-dev
tim.plunkett’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
xjm’s picture

Here we need a way to determine whether we're reviewing D6, D7, or D8 (because the D6 version of CTL will review all three branches on qa.d.o).