From ed5f76e4818d6e95c6fa0fbe69d357f597ff4c42 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sat, 6 Mar 2004 09:34:05 +0000 Subject: [PATCH] Fix timestamp error in redirects (fails in particularly ugly fashion on Windows server) --- includes/OutputPage.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index eaea95c969..c6cc144e54 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -247,8 +247,7 @@ class OutputPage { if( !$wgDebugRedirects ) { header("HTTP/1.1 {$this->mRedirectCode} Moved Permanently"); } - $this->mLastModified = gmdate( "D, j M Y H:i:s", wfTimestamp2Unix( - max( $timestamp, $wgUser->mTouched ) ) ) . " GMT"; + $this->mLastModified = gmdate( "D, j M Y H:i:s" ) . " GMT"; } $this->sendCacheControl(); -- 2.20.1