You are here

function _coder_sql_db_query_in_install in Coder 6

Same name and namespace in other branches
  1. 6.2 includes/coder_sql.inc \_coder_sql_db_query_in_install()
1 string reference to '_coder_sql_db_query_in_install'
coder_sql_reviews in includes/coder_sql.inc
Implementation of hook_reviews().

File

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

Code

function _coder_sql_db_query_in_install() {
  return array(
    '#warning' => t('Use !update_sql() instead of !db_query() in !hook_update_N()', array(
      '!update_sql' => theme('drupalapi', 'update_sql'),
      '!db_query' => theme('drupalapi', 'db_query'),
      '!hook_update_N' => theme('drupalapi', 'hook_update_N'),
    )),
  );
}