Clean up the voting results - not just the votes
voxpelli - May 28, 2009 - 17:27
| Project: | Plus 1 |
| Version: | 6.x-2.6 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Description
I recently removed a lot of nodes with a lot of votes form a test site and discovered that the calculated results from each one of the nodes was still left in the votingapi tables.
What I did was to duplicate the already existing functionality that removes the votes and made it remove the results as well - through votingapi_select_results and votingapi_delete_results.
| Attachment | Size |
|---|---|
| plus1_clean_up_votingapi_results.patch | 540 bytes |
