Make SiteStats (re)initializing more sane
authorMarius Hoch <hoo@online.de>
Sun, 23 Feb 2014 20:47:48 +0000 (21:47 +0100)
committerTim Starling <tstarling@wikimedia.org>
Mon, 24 Feb 2014 00:40:51 +0000 (00:40 +0000)
commitd8c03733718ac9eedabad7e4fa569426a56acc31
tree2f896d9f7b257827752cfb651bcc752e4bc66691
parentc5120a967675036f2706307bd9ebe282976bdbd8
Make SiteStats (re)initializing more sane

Don't set ss_active_users back to its default in SiteStatsInit::refresh.
Also remove SiteStatsInit::update and make refresh() protected.
Also don't consider ss_active_users in SiteStats::isSane as that value
isn't going to be fixed by the following SiteStatsInit::refresh call.

Change-Id: I268599be96106e1175fdf9750a2adc9468ebc93c
includes/SiteStats.php