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:
81fac32
)
We *want* to purge failures
author
Aaron Schulz
<aaron@users.mediawiki.org>
Fri, 2 May 2008 21:37:53 +0000
(21:37 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Fri, 2 May 2008 21:37:53 +0000
(21:37 +0000)
includes/filerepo/File.php
patch
|
blob
|
history
diff --git
a/includes/filerepo/File.php
b/includes/filerepo/File.php
index
7815722
..
11a0159
100644
(file)
--- a/
includes/filerepo/File.php
+++ b/
includes/filerepo/File.php
@@
-550,7
+550,7
@@
abstract class File {
// Purge. Useful in the event of Core -> Squid connection failure or squid
// purge collisions from elsewhere during failure. Don't keep triggering for
// "thumbs" which have the main image URL though (bug 13776)
- if ( $wgUseSquid &&
!$thumb->isError() && $thumb->getUrl() != $this->getURL(
) ) {
+ if ( $wgUseSquid &&
($thumb->isError() || $thumb->getUrl() != $this->getURL()
) ) {
SquidUpdate::purge( array( $thumbUrl ) );
}
} while (false);