function taxonomy_access_shutdown in Taxonomy Access Control 7
Shutdown function: Performs any needed node access updates.
See also
Related topics
1 string reference to 'taxonomy_access_shutdown'
- taxonomy_access_init in ./
taxonomy_access.module - Implements hook_init().
File
- ./
taxonomy_access.module, line 547 - Allows administrators to specify access control for taxonomy categories.
Code
function taxonomy_access_shutdown() {
// Update any affected nodes.
$affected_nodes = taxonomy_access_affected_nodes();
if (!empty($affected_nodes)) {
taxonomy_access_affected_nodes(NULL, TRUE);
_taxonomy_access_node_access_update($affected_nodes);
}
}