From: Aaron Schulz Date: Fri, 2 May 2008 21:37:53 +0000 (+0000) Subject: We *want* to purge failures X-Git-Tag: 1.31.0-rc.0~47940 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=fad822e6e4fac10c12e152fd1582d07d05599940;p=lhc%2Fweb%2Fwiklou.git We *want* to purge failures --- diff --git a/includes/filerepo/File.php b/includes/filerepo/File.php index 7815722323..11a0159c52 100644 --- 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);