Merge "WLFilters: hide watchlist-details during loading of the app"
[lhc/web/wiklou.git] / maintenance / archives / patch-ss_active_users.sql
index 7143905..a583cdc 100644 (file)
@@ -1,6 +1,3 @@
 -- More statistics, for version 1.14
 
 ALTER TABLE /*$wgDBprefix*/site_stats ADD ss_active_users bigint default '-1';
-SELECT @activeusers := COUNT( DISTINCT rc_user_text ) FROM /*$wgDBprefix*/recentchanges 
-WHERE rc_user != 0 AND rc_bot = 0 AND rc_log_type != 'newusers';
-UPDATE /*$wgDBprefix*/site_stats SET ss_active_users=@activeusers;