function gmap_update_7201 in GMap Module 7.2
Mini-update -- update gmap markerfiles variable to an array if it is not already.
File
- ./
gmap.install, line 121 - GMap install/uninstall routines.
Code
function gmap_update_7201() {
$markerdirs = variable_get('gmap_markerfiles', array(
drupal_get_path('module', 'gmap') . '/markers',
));
if (!is_array($markerdirs)) {
variable_set('gmap_markerfiles', array(
$markerdirs,
));
}
}