You are here

function taxonomy_breadcrumb_update_6100 in Taxonomy Breadcrumb 7

Same name and namespace in other branches
  1. 6 taxonomy_breadcrumb.install \taxonomy_breadcrumb_update_6100()

Corrects variable value for new version.

File

./taxonomy_breadcrumb.install, line 99
.install file for the taxonomy_breadcrumb module.

Code

function taxonomy_breadcrumb_update_6100() {
  if (variable_get('taxonomy_breadcrumb_include_nodes', 0)) {
    variable_set('taxonomy_breadcrumb_include_nodes', 1);
  }
  else {
    variable_set('taxonomy_breadcrumb_include_nodes', 0);
  }
}