From 330758c5bc5f09dc9f4b787d5d8db340dd9b9545 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Mon, 28 Nov 2011 09:03:39 +0000 Subject: [PATCH] Fix r104410: Added default value for $options to purgeThumbnails(), not sure how this was lost in the patch --- includes/filerepo/file/LocalFile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1