You are here

function uc_catalog_taxonomy_term_update in Ubercart 7.3

Implements hook_taxonomy_term_update().

File

uc_catalog/uc_catalog.module, line 201
Ubercart Catalog module.

Code

function uc_catalog_taxonomy_term_update($term) {
  if (module_exists('pathauto')) {
    if ($term->name) {
      module_load_include('inc', 'uc_catalog', 'uc_catalog.pathauto');
      $count = _uc_catalog_pathauto_alias($term, 'update');
    }
  }
}