r104412 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104411‎ | r104412 | r104413 >
Date:09:03, 28 November 2011
Author:aaron
Status:ok
Tags:
Comment:
Fix r104410: Added default value for $options to purgeThumbnails(), not sure how this was lost in the patch
Modified paths:
  • /trunk/phase3/includes/filerepo/file/LocalFile.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/filerepo/file/LocalFile.php
@@ -723,7 +723,7 @@
724724 /**
725725 * Delete cached transformed files for the current version only.
726726 */
727 - function purgeThumbnails( $options ) {
 727+ function purgeThumbnails( $options = array() ) {
728728 global $wgUseSquid;
729729
730730 // Delete thumbnails

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r104410Restored r98710 but with a 'forRefresh' option (not used yet)aaron08:53, 28 November 2011

Status & tagging log