Provide a script (and run it on upgrade) to fix/reset review request counters.
Review Request #2455 — Created July 7, 2011 and submitted — Latest diff uploaded
Provide a script (and run it on upgrade) to fix/reset review request counters. It's possible for review request counters in the profile and in groups to be incorrect, especially when the system was using an older alpha/beta of 1.6. We now have a management script for resetting these counters. It's run automatically on upgrade, which will cover any users upgrading from an earlier 1.6, as well as any future users if we fix any bugs in our counters code.
Tested against my horribly broken setup here. I ran the script and got back some numbers that matched what I saw, instead of a bunch of wildly inaccurate, sometimes negative numbers.