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. --- scripts/run-tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/run-tests.sh') diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh index 15a703714..af57336db 100755 --- a/scripts/run-tests.sh +++ b/scripts/run-tests.sh @@ -423,7 +423,7 @@ function simpletest_script_reporter_init() { echo "\n"; } - echo "Test run started: " . format_date(time(), 'long') . "\n"; + echo "Test run started: " . format_date($_SERVER['REQUEST_TIME'], 'long') . "\n"; echo "\n"; echo "Test summary:\n"; @@ -438,7 +438,7 @@ function simpletest_script_reporter_display_results() { global $args, $test_id, $results_map; echo "\n"; - echo "Test run ended: " . format_date(time(), 'long') . "\n"; + echo "Test run ended: " . format_date($_SERVER['REQUEST_TIME'], 'long') . "\n"; echo "\n"; if ($args['verbose']) { -- cgit v1.2.3