You are here

function _coder_sql_db_query_range_warning in Coder 6.2

Same name and namespace in other branches
  1. 5.2 includes/coder_sql.inc \_coder_sql_db_query_range_warning()
  2. 6 includes/coder_sql.inc \_coder_sql_db_query_range_warning()

Define the warning callbacks

1 string reference to '_coder_sql_db_query_range_warning'
coder_sql_reviews in includes/coder_sql.inc
Implementation of hook_reviews().

File

includes/coder_sql.inc, line 70
This include file implements coder functionality for SQL strings

Code

function _coder_sql_db_query_range_warning() {
  return array(
    '#warning' => t('Use !db_query_range() instead of the SQL LIMIT clause', array(
      '!db_query_range' => theme('drupalapi', 'db_query_range'),
    )),
    '#link' => 'http://drupal.org/node/1395',
  );
}