You are here

function _coder_6x_locale_refresh_cache_warning in Coder 5.2

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

File

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

Code

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