You are here

function _coder_review_6x_watchdog_warning in Coder 7

1 string reference to '_coder_review_6x_watchdog_warning'
coder_review_6x_reviews in coder_review/includes/coder_review_6x.inc
Implements hook_reviews().

File

coder_review/includes/coder_review_6x.inc, line 695
This include file implements coder functionality for 5.x -> 6.x upgrades.

Code

function _coder_review_6x_watchdog_warning() {
  return array(
    '#warning' => t('Parameters of !watchdog() changed, you <em>must</em> remove calls to !t()', array(
      '!watchdog' => theme('drupalapi', array(
        'function' => 'watchdog',
        'version' => '6',
      )),
      '!t' => theme('drupalapi', array(
        'function' => 't',
        'version' => '6',
      )),
    )),
    '#link' => 'http://drupal.org/node/114774#watchdog_parameters',
  );
}