follow-up r98710/r104410. I personally think that forRefresh is confusing, since...
[lhc/web/wiklou.git] / includes / filerepo / file / LocalFile.php
index 653caa9..69dc029 100644 (file)
@@ -722,7 +722,7 @@ class LocalFile extends File {
                $files = $this->getThumbnails();
 
                // Give media handler a chance to filter the purge list
-               if ( !empty( $options['forRefresh'] ) ) {
+               if ( !empty( $options['forThumbRefresh'] ) ) {
                        $handler = $this->getHandler();
                        if ( $handler ) {
                                $handler->filterThumbnailPurgeList( $files, $options );