function taxonomy_permissions_module_implements_alter in Taxonomy Permissions 7
Implements hook_module_implements_alter().
File
Code
function taxonomy_permissions_module_implements_alter(&$implementations, $hook) {
// Remove taxonomy.module's permissions because we supply them.
if ($hook == 'permission') {
if (taxonomy_permissions_disabling()) {
unset($implementations['taxonomy_permissions']);
}
else {
unset($implementations['taxonomy']);
}
}
}