}
/**
- *
+ * Class for handling updates to the site_stats table
*/
-class SiteStatsUpdate {
+class SiteStatsUpdate implements DeferrableUpdate {
var $mViews, $mEdits, $mGood, $mPages, $mUsers;
/**
* Do all updates and commit them. More or less a replacement
- * for the original initStats, but without the calls to wfOut()
+ * for the original initStats, but without output.
*
* @param $database Boolean or DatabaseBase:
* - Boolean: whether to use the master DB