You are here

function _coder_6x_db_next_id_warning in Coder 6

Same name and namespace in other branches
  1. 5.2 includes/coder_6x.inc \_coder_6x_db_next_id_warning()
  2. 6.2 includes/coder_6x.inc \_coder_6x_db_next_id_warning()
1 string reference to '_coder_6x_db_next_id_warning'
coder_6x_reviews in includes/coder_6x.inc
Implementation of hook_reviews().

File

includes/coder_6x.inc, line 952
This include file implements coder functionality for 5.x -> 6.x upgrades.

Code

function _coder_6x_db_next_id_warning() {
  return array(
    '#warning' => t('!db_next_id() is deprecated.  Use !db_last_insert_id() instead.', array(
      '!db_next_id' => theme('drupalapi', 'db_next_id', '5'),
      '!db_last_insert_id' => theme('drupalapi', 'db_last_insert_id', '6'),
    )),
    '#link' => 'http://drupal.org/node/114774#db_last_insert_id',
  );
}