function location_update_5311 in Location 5.3
Well, I do have 99 updates to use :P
File
- ./
location.install, line 872 - Installation / uninstallation routines.
Code
function location_update_5311() {
$ret = array();
drupal_set_message(t("Note: Location module has now split off node location support into a seperate module, called <em>Node Locations</em>. It has been enabled for you. If you don't want node 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_node',
));
}
else {
drupal_set_message(t("Note: Refusing to enable location_node.module, as location.module is not currently enabled."));
}
return $ret;
}