r25059 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25058‎ | r25059 | r25060 >
Date:16:32, 22 August 2007
Author:tstarling
Status:old
Tags:
Comment:
Fixed typo in LocalFileDeleteBatch::execute() which was causing complete breakage when squid was enabled.
Modified paths:
  • /trunk/phase3/includes/filerepo/LocalFile.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/filerepo/LocalFile.php
@@ -1303,7 +1303,7 @@
13041304 $urls = array();
13051305 foreach ( $this->srcRels as $srcRel ) {
13061306 $urlRel = str_replace( '%2F', '/', rawurlencode( $srcRel ) );
1307 - $urls[] = $this->repo->getZoneUrl( 'public' ) . '/' . $urlRel;
 1307+ $urls[] = $this->file->repo->getZoneUrl( 'public' ) . '/' . $urlRel;
13081308 }
13091309 SquidUpdate::purge( $urls );
13101310 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r25109Merged revisions 25016-25108 via svnmerge from...david07:30, 24 August 2007

Status & tagging log