From: Aaron Schulz Date: Sun, 11 Sep 2016 16:37:44 +0000 (-0700) Subject: Make WikiPage::doPurge() clear the file cache too X-Git-Tag: 1.31.0-rc.0~5614^2~1 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=6d9a2f849f3292f6d5e9e399889db8f4f58d1c1a;p=lhc%2Fweb%2Fwiklou.git Make WikiPage::doPurge() clear the file cache too Change-Id: I6d2419d0948c9a191464ea8faf63913b7c5d5b1a --- diff --git a/includes/page/WikiPage.php b/includes/page/WikiPage.php index d5dfd3d00a..938f292887 100644 --- a/includes/page/WikiPage.php +++ b/includes/page/WikiPage.php @@ -1119,6 +1119,9 @@ class WikiPage implements Page, IDBAccessObject { } $this->mTitle->invalidateCache(); + + // Clear file cache + HTMLFileCache::clearFileCache( $this->getTitle() ); // Send purge after above page_touched update was committed DeferredUpdates::addUpdate( new CdnCacheUpdate( $this->mTitle->getCdnUrls() ),