From: Aaron Schulz Date: Fri, 2 May 2008 21:32:13 +0000 (+0000) Subject: Use getUrl() X-Git-Tag: 1.31.0-rc.0~47941 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=81fac3246dafcc6ecb3725a2bf375bb86266d7a3;p=lhc%2Fweb%2Fwiklou.git Use getUrl() --- diff --git a/includes/filerepo/File.php b/includes/filerepo/File.php index d1b0cd54c1..7815722323 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->url != $this->getURL() ) { + if ( $wgUseSquid && !$thumb->isError() && $thumb->getUrl() != $this->getURL() ) { SquidUpdate::purge( array( $thumbUrl ) ); } } while (false);