From: Tim Starling Date: Wed, 22 Aug 2007 16:32:10 +0000 (+0000) Subject: Fixed typo in LocalFileDeleteBatch::execute() which was causing complete breakage... X-Git-Tag: 1.31.0-rc.0~51687 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22sites_tous%22%29%20.%20%22?a=commitdiff_plain;h=f2b5bd435d1806167abfa9181106fc52ad44e4e2;p=lhc%2Fweb%2Fwiklou.git Fixed typo in LocalFileDeleteBatch::execute() which was causing complete breakage when squid was enabled. --- diff --git a/includes/filerepo/LocalFile.php b/includes/filerepo/LocalFile.php index a2e19c8f43..581142d869 100644 --- a/includes/filerepo/LocalFile.php +++ b/includes/filerepo/LocalFile.php @@ -1303,7 +1303,7 @@ class LocalFileDeleteBatch { $urls = array(); foreach ( $this->srcRels as $srcRel ) { $urlRel = str_replace( '%2F', '/', rawurlencode( $srcRel ) ); - $urls[] = $this->repo->getZoneUrl( 'public' ) . '/' . $urlRel; + $urls[] = $this->file->repo->getZoneUrl( 'public' ) . '/' . $urlRel; } SquidUpdate::purge( $urls ); }