dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
421829d
)
Don't try to output bogus Last-Modified timestamp if there are no recentchanges table...
author
Brion Vibber
<brion@users.mediawiki.org>
Sun, 24 Oct 2004 10:23:36 +0000
(10:23 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Sun, 24 Oct 2004 10:23:36 +0000
(10:23 +0000)
includes/SpecialRecentchanges.php
patch
|
blob
|
history
diff --git
a/includes/SpecialRecentchanges.php
b/includes/SpecialRecentchanges.php
index
75a4bfc
..
9914924
100644
(file)
--- a/
includes/SpecialRecentchanges.php
+++ b/
includes/SpecialRecentchanges.php
@@
-53,7
+53,7
@@
function wfSpecialRecentchanges( $par ) {
$lastmod = $dbr->selectField( 'recentchanges', 'MAX(rc_timestamp)', false, $fname );
# 10 seconds server-side caching max
$wgOut->setSquidMaxage( 10 );
- if( $wgOut->checkLastModified( $lastmod ) ){
+ if( $
lastmod && $
wgOut->checkLastModified( $lastmod ) ){
# Client cache fresh and headers sent, nothing more to do.
return;
}