Merge "Treat langtags in SVG switch case-insensitively"
[lhc/web/wiklou.git] / includes / filerepo / file / File.php
index dd12ab5..827f4ca 100644 (file)
@@ -1464,7 +1464,9 @@ abstract class File implements IDBAccessObject {
                // Purge cache of all pages using this file
                $title = $this->getTitle();
                if ( $title ) {
-                       DeferredUpdates::addUpdate( new HTMLCacheUpdate( $title, 'imagelinks' ) );
+                       DeferredUpdates::addUpdate(
+                               new HTMLCacheUpdate( $title, 'imagelinks', 'file-purge' )
+                       );
                }
        }