diff --git a/config/vanilla/bootstrap.early.php b/config/vanilla/bootstrap.early.php index 06b250f..62dcc72 100644 --- a/config/vanilla/bootstrap.early.php +++ b/config/vanilla/bootstrap.early.php @@ -168,7 +168,7 @@ // FIX: https://github.com/topcoder-platform/forums/issues/479 // Re-calculate count of WatchedCategories if WatchedCategories is null - Gdn::sql()->query('update GDN_User u set u.CountWatchedCategories = ( - select count(c.CategoryID) from GDN_Category c, (select distinct CAST(SUBSTRING_INDEX(um.Name, ".", -1) as UNSIGNED) as CategoryID from GDN_UserMeta um - where um.Name LIKE "Preferences.%" AND UserID = u.UserID and Value = 1) ws where ws.CategoryID = c.CategoryID) where CountWatchedCategories is null', 'update'); + // Gdn::sql()->query('update GDN_User u set u.CountWatchedCategories = ( + // select count(c.CategoryID) from GDN_Category c, (select distinct CAST(SUBSTRING_INDEX(um.Name, ".", -1) as UNSIGNED) as CategoryID from GDN_UserMeta um + // where um.Name LIKE "Preferences.%" AND UserID = u.UserID and Value = 1) ws where ws.CategoryID = c.CategoryID) where CountWatchedCategories is null', 'update'); } \ No newline at end of file