What is (the best) way to reset/rebuild the Voting API cache? I had some spam votes which were deleted manually (http://drupal.org/node/192059) but the resultes are still in Voting API Cache. So the old results are shown to visitors.

So the target now is to rebuild the Voting API cache without spam votes.

Comments

eaton’s picture

use PHP to call the votingapi_recalculate_results() function, passing in the content type (node, in most cases) and the content id (the node id, also in most cases). That should do the trick!

eaton’s picture

Status: Active » Closed (fixed)