You are here

public function VotingApi_Criteria::delete in Voting API 7.3

Delete all matching votes.

File

./votingapi.module, line 134
A generalized voting API for Drupal.

Class

VotingApi_Criteria
Criteria to select VotingApi_Votes

Code

public function delete() {
  VotingApi_Vote::deleteMultiple($this
    ->select());
}