You are here

function gmap_taxonomy_update_7202 in GMap Module 7

Same name and namespace in other branches
  1. 7.2 gmap_taxonomy.install \gmap_taxonomy_update_7202()

Split settings in a variable for each vocabulary.

File

./gmap_taxonomy.install, line 112
gmap_taxonomy install routines.

Code

function gmap_taxonomy_update_7202() {
  $enabled_vocabularies = variable_get('gmap_taxonomy_vocabs', array());
  foreach ($enabled_vocabularies as $machine_name => $enabled) {
    variable_set('gmap_taxonomy_vocab_' . $machine_name, $enabled);
  }
  variable_del('gmap_taxonomy_vocabs');
}