From e5b0e5f76c0695a01d13c55147a8287df8750594 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 6 Sep 2008 08:36:22 +0000 Subject: - Patch #302763 by Dave Reid, Rob Loach: replace time() by ['REQUEST_TIME'] as per Rasmus' suggestion. Removed drupal_referrer() for consistency. --- modules/update/update.report.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/update/update.report.inc') diff --git a/modules/update/update.report.inc b/modules/update/update.report.inc index 152302061..193284f1c 100644 --- a/modules/update/update.report.inc +++ b/modules/update/update.report.inc @@ -27,7 +27,7 @@ function update_status() { */ function theme_update_report($data) { $last = variable_get('update_last_check', 0); - $output = '
' . ($last ? t('Last checked: @time ago', array('@time' => format_interval(time() - $last))) : t('Last checked: never')); + $output = '
' . ($last ? t('Last checked: @time ago', array('@time' => format_interval($_SERVER['REQUEST_TIME'] - $last))) : t('Last checked: never')); $output .= ' (' . l(t('Check manually'), 'admin/reports/updates/check') . ')'; $output .= "
\n"; -- cgit v1.2.3