You are here

function module_grants_clear_node_access_cache in Module Grants 7

1 call to module_grants_clear_node_access_cache()
module_grants_node_access_records_alter in ./module_grants.module
Implements hook_node_access_records_alter to clear node_access related cache since a change is about to be written to the node_access table

File

./module_grants.module, line 525

Code

function module_grants_clear_node_access_cache() {
  drupal_static_reset('module_grants_get_node_access_realms');
  drupal_static_reset('module_grants_get_node_access_realms_for_module');
}