You are here

function taxonomy_access_fix_taxonomy_vocabulary_update in Taxonomy access fix 7.2

Implements hook_taxonomy_vocabulary_update().

File

./taxonomy_access_fix.module, line 53
This file contains all hooks and callbacks for extra/improved Taxonomy permissions.

Code

function taxonomy_access_fix_taxonomy_vocabulary_update($vocabulary) {
  if ($vocabulary->machine_name != $vocabulary->original->machine_name) {
    taxonomy_access_fix_update_role_permissions($vocabulary->original->machine_name, $vocabulary->machine_name);
  }
}