dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d233fd
)
Make WikiPage::doPurge() clear the file cache too
author
Aaron Schulz
<aschulz@wikimedia.org>
Sun, 11 Sep 2016 16:37:44 +0000
(09:37 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Sun, 11 Sep 2016 16:37:44 +0000
(09:37 -0700)
Change-Id: I6d2419d0948c9a191464ea8faf63913b7c5d5b1a
includes/page/WikiPage.php
patch
|
blob
|
history
diff --git
a/includes/page/WikiPage.php
b/includes/page/WikiPage.php
index
d5dfd3d
..
938f292
100644
(file)
--- 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() ),