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