From: Brion Vibber Date: Sat, 6 Mar 2004 09:34:05 +0000 (+0000) Subject: Fix timestamp error in redirects (fails in particularly ugly fashion on Windows server) X-Git-Tag: 1.3.0beta1~859 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dcompta/operations/supprimer.php?a=commitdiff_plain;h=ed5f76e4818d6e95c6fa0fbe69d357f597ff4c42;p=lhc%2Fweb%2Fwiklou.git Fix timestamp error in redirects (fails in particularly ugly fashion on Windows server) --- 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();