r43102 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r43101‎ | r43102 | r43103 >
Date:23:27, 2 November 2008
Author:brion
Status:old
Tags:
Comment:
epoch no longer valid
Modified paths:
  • /trunk/extensions/CentralNotice/NoticePage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralNotice/NoticePage.php
@@ -26,7 +26,7 @@
2727 private function sendHeaders() {
2828 $smaxage = $this->sharedMaxAge();
2929 $maxage = $this->maxAge();
30 - $epoch = wfTimestamp( TS_RFC2822, efCentralNoticeEpoch() );
 30+ //$epoch = wfTimestamp( TS_RFC2822, efCentralNoticeEpoch() );
3131
3232 // Paranoia
3333 $public = ( session_id() == '' );
@@ -37,7 +37,7 @@
3838 } else {
3939 header( "Cache-Control: private, s-maxage=0, max-age=$maxage" );
4040 }
41 - header( "Last-modified: $epoch" );
 41+ //header( "Last-modified: $epoch" );
4242 }
4343
4444 function getJsOutput( $par ) {

Status & tagging log