function location_update_6307 in Location 6.3
Same name and namespace in other branches
- 7.5 location.install \location_update_6307()
- 7.3 location.install \location_update_6307()
- 7.4 location.install \location_update_6307()
I hate to waste a whole update on this, but people will need to know.
File
- ./
location.install, line 1118 - Installation / uninstallation routines.
Code
function location_update_6307() {
$ret = array();
drupal_set_message(t("Note: Location module has now split off user location support into a seperate module, called <em>User Locations</em>. It has been enabled for you. If you don't want user locations, visit the <a href='!url'>modules page</a> and disable it.", array(
'!url' => url('admin/build/modules'),
)));
if (module_exists('location')) {
module_enable(array(
'location_user',
));
}
else {
drupal_set_message(t("Note: Refusing to enable location_user.module, as location.module is not currently enabled."));
}
return $ret;
}