You are here

function taxonomy_access_user_role_delete in Taxonomy Access Control 7

Implements hook_user_role_delete().

File

./taxonomy_access.module, line 228
Allows administrators to specify access control for taxonomy categories.

Code

function taxonomy_access_user_role_delete($role) {

  // Do not update node access since the role will no longer exist.
  taxonomy_access_delete_role_grants($role->rid, FALSE);
}