function boost_votingapi_delete in Boost 6
Implementation of hook_votingapi_delete().
Parameters
$votes: array of votes
File
- ./
boost.module, line 1681 - Provides static file caching for Drupal text output. Pages, Feeds, ect...
Code
function boost_votingapi_delete($votes) {
if (!variable_get('boost_enabled', CACHE_NORMAL)) {
return;
}
foreach ($votes as $vote) {
$node = node_load($vote['content_id'], NULL, TRUE);
boost_expire_node($node, $vote['content_id']);
}
}