From: Aaron Schulz Date: Mon, 28 Nov 2011 09:03:39 +0000 (+0000) Subject: Fix r104410: Added default value for $options to purgeThumbnails(), not sure how... X-Git-Tag: 1.31.0-rc.0~26255 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/voir.php?a=commitdiff_plain;h=330758c5bc5f09dc9f4b787d5d8db340dd9b9545;p=lhc%2Fweb%2Fwiklou.git Fix r104410: Added default value for $options to purgeThumbnails(), not sure how this was lost in the patch --- diff --git a/includes/filerepo/file/LocalFile.php b/includes/filerepo/file/LocalFile.php index 7a7e84387e..df7144330e 100644 --- a/includes/filerepo/file/LocalFile.php +++ b/includes/filerepo/file/LocalFile.php @@ -723,7 +723,7 @@ class LocalFile extends File { /** * Delete cached transformed files for the current version only. */ - function purgeThumbnails( $options ) { + function purgeThumbnails( $options = array() ) { global $wgUseSquid; // Delete thumbnails