You are here

function uc_catalog_update_dependencies in Ubercart 7.3

Implements hook_update_dependencies().

File

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

Code

function uc_catalog_update_dependencies() {
  $dependencies['uc_catalog'][7000] = array(
    'system' => 7020,
    'taxonomy' => 7002,
  );
  $dependencies['uc_catalog'][7001] = array(
    'system' => 7059,
  );

  // Try to alter vocabulary machine name before taxonomy reference field is
  // created. If dependency is honored, uc_catalog_update_7003 is a no-op.
  $dependencies['taxonomy'][7004] = array(
    'uc_catalog' => 7002,
  );
  return $dependencies;
}