Clear SiteStats process cache after DB update
authorTim Starling <tstarling@wikimedia.org>
Thu, 25 Aug 2016 01:37:38 +0000 (11:37 +1000)
committerTim Starling <tstarling@wikimedia.org>
Thu, 25 Aug 2016 01:44:10 +0000 (11:44 +1000)
commit18938b1ce8ea73833edc9090fa5c89195698c073
tree3ce879df2c2ec6ac3ac22d24ab3c4cb73d12d4e4
parent3ea818c42ba9f2115a4dd5f528a40d44e2e0afd8
Clear SiteStats process cache after DB update

This fixes a phpunit test error, wherein {{NUMBEROFFILES}} would give
the number of files in the host wiki, not in the temporary database,
when Scribunto was installed, due to a Scribunto phpunit data provider
calling SiteStats::pages().

Change-Id: Ic0d021a72addaa2a13a6b94fd34dccc423de3a8f
includes/SiteStats.php
includes/deferred/SiteStatsUpdate.php