Merge "Form improvements when creating another's account"
[lhc/web/wiklou.git] / includes / revisiondelete / RevisionDelete.php
index ac72276..135e31f 100644 (file)
@@ -501,6 +501,9 @@ class RevDel_FileList extends RevDel_List {
                $file = wfLocalFile( $this->title );
                $file->purgeCache();
                $file->purgeDescription();
+               foreach ( $this->ids as $timestamp ) {
+                       $file->purgeOldThumbnails( $timestamp . '!' . $this->title->getDBkey() );
+               }
                return Status::newGood();
        }