From f2b5bd435d1806167abfa9181106fc52ad44e4e2 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Wed, 22 Aug 2007 16:32:10 +0000 Subject: [PATCH] Fixed typo in LocalFileDeleteBatch::execute() which was causing complete breakage when squid was enabled. --- includes/filerepo/LocalFile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } -- 2.20.1