function _coder_review_7x_time_warning in Coder 7
1 string reference to '_coder_review_7x_time_warning'
- coder_review_7x_reviews in coder_review/
includes/ coder_review_7x.inc - Implements hook_reviews().
File
- coder_review/
includes/ coder_review_7x.inc, line 1384 - This include file implements coder functionality for 6.x -> 7.x upgrades.
Code
function _coder_review_7x_time_warning() {
return array(
'#warning' => t('For improved performance, it is highly recommended that time() is replaced with REQUEST_TIME', array(
'!time()' => theme('phpapi', array(
'function' => 'time',
)),
)),
'#link' => 'http://drupal.org/node/224333#time',
);
}