You are here

function uc_catalog_update_7002 in Ubercart 7.3

Sets Catalog vocabulary machine name.

File

uc_catalog/uc_catalog.install, line 191
Install, update and uninstall functions for the uc_catalog module.

Code

function uc_catalog_update_7002() {
  db_query("UPDATE {taxonomy_vocabulary} SET machine_name = :name WHERE vid = :vid", array(
    ':name' => 'catalog',
    ':vid' => variable_get('uc_catalog_vid', 0),
  ));
}