I used this module to delete all contents and users on my site. However when i create a new blog, the vote for that node reappears from before. Is there any way that the ratings for every node is cleared when it gets deleted?

--Onvar
http://onvar.net/

Comments

kbahey’s picture

If you use Quick delete, then yes, old data will be there.

If you use the Normal delete, the old data should be wiped.

this is documented in the description of the mode:

This method deletes directly from the database, skipping the extra php processing. The downside is that it can miss related tables that are normally handled by module hook_delete.

seandunaway’s picture

Status: Active » Fixed

The problem is that VotingAPI doesn't hook in to delete votes, ever.

Here's the quick fix, which will delete votes when using Delete all's normal delete. The module also creates a button to delete existing orphaned votes.

http://drupal.org/project/votingapi_autoremove

seandunaway’s picture

Status: Fixed » Active

Whoops, 6.x, 7.x only.

coderintherye’s picture

Status: Active » Closed (won't fix)

5.x is deprecated. Upgrade and use the suggested method by rump (well technically speaking, that is part of VotingAPI now, so you shouldn't need to do anything asides upgrade).