Merge maintenance-work branch:
[lhc/web/wiklou.git] / maintenance / updaters.inc
index 4b77af4..5d3d22e 100644 (file)
@@ -1038,10 +1038,7 @@ function do_stats_init() {
                wfOut( "ok.\n" );
                return;
        }
-
-       global $IP;
-       require_once "$IP/maintenance/initStats.inc";
-       wfInitStats();
+       SiteStats::init( false );
 }
 
 function do_active_users_init() {