User:BDavis (WMF)/Notes/Purge image on delete

Purge image on delete

edit
  • LocalFile::delete() [1529]:
    • File::purgeEverything() [1076]:
      • LocalFIle::purgeCache() [823]:
        • SquidUpdate::purge( array( $this->getURL() ) );


  • RevDel_FileList::doPostCommitUpdates
    • $this->deleteBatch is array of arrays
Delete batch: Array
(
    [0] => Array
        (
            [0] => archive/d/d3/20130812192939!Python-iptools-reddit.png
            [1] => s/y/l/syl6cft2opt80xyxs1mrus6r14pq58b.png
        )

)