Index: trunk/extensions/NSFileRepo/NSFileRepo_body.php |
— | — | @@ -244,7 +244,7 @@ |
245 | 245 | * The only thing changed here is to strip NS from the file name |
246 | 246 | * Delete cached transformed files |
247 | 247 | */ |
248 | | - function purgeThumbnails() { |
| 248 | + function purgeThumbnails( $options = array() ) { |
249 | 249 | global $wgUseSquid; |
250 | 250 | // Delete thumbnails |
251 | 251 | $files = $this->getThumbnails(); |
— | — | @@ -394,8 +394,8 @@ |
395 | 395 | function addOlds() { |
396 | 396 | return NSLocalFile::addOlds(); |
397 | 397 | } |
398 | | - function purgeThumbnails() { |
399 | | - return NSLocalFile::purgeThumbnails(); |
| 398 | + function purgeThumbnails($options = array() ) { |
| 399 | + return NSLocalFile::purgeThumbnails( $options ); |
400 | 400 | } |
401 | 401 | /** |
402 | 402 | * Replaces hard coded OldLocalFile::newFromRow to use $this->repo->oldFileFromRowFactory configuration |