authcache_votingapi.module in Authenticated User Page Caching (Authcache) 7.2
Authcache support for the Voting API module.
File
modules/authcache_votingapi/authcache_votingapi.moduleView source
<?php
/**
* @file
* Authcache support for the Voting API module.
*/
/**
* Implements hook_votingapi_insert().
*
* Invalidate user cache when votes are inserted.
*/
function authcache_votingapi_votingapi_insert($votes) {
authcache_p13n_session_invalidate();
}
/**
* Implements hook_votingapi_delete().
*
* Invalidate user cache when votes are deleted.
*/
function authcache_votingapi_votingapi_delete($votes) {
authcache_p13n_session_invalidate();
}
Functions
Name | Description |
---|---|
authcache_votingapi_votingapi_delete | Implements hook_votingapi_delete(). |
authcache_votingapi_votingapi_insert | Implements hook_votingapi_insert(). |