function _coder_6x_remote_addr_warning in Coder 5
Same name and namespace in other branches
- 5.2 includes/coder_6x.inc \_coder_6x_remote_addr_warning()
- 6.2 includes/coder_6x.inc \_coder_6x_remote_addr_warning()
- 6 includes/coder_6x.inc \_coder_6x_remote_addr_warning()
1 string reference to '_coder_6x_remote_addr_warning'
- coder_6x_reviews in includes/
coder_6x.inc - @file This include file implements coder functionality for 5.x -> 6.x upgrades
File
- includes/
coder_6x.inc, line 387 - This include file implements coder functionality for 5.x -> 6.x upgrades
Code
function _coder_6x_remote_addr_warning() {
return array(
'#warning' => t('Use new !ip_address() function instead of $_SERVER[\'REMOTE_ADDR\']', array(
'!ip_address' => theme('drupalapi', 'ip_address'),
)),
'#link' => 'http://drupal.org/node/114774#ip-address',
);
}