function location_phone_update_5302 in Location 7.5
Same name and namespace in other branches
- 5.3 contrib/location_phone/location_phone.install \location_phone_update_5302()
- 6.3 contrib/location_phone/location_phone.install \location_phone_update_5302()
- 7.3 contrib/location_phone/location_phone.install \location_phone_update_5302()
- 7.4 contrib/location_phone/location_phone.install \location_phone_update_5302()
Location 3.0 update 2. Change weight of module.
File
- contrib/
location_phone/ location_phone.install, line 98 - Install, update and uninstall functions for the location_phone module.
Code
function location_phone_update_5302() {
// Change weight.
db_update('system')
->fields(array(
'weight' => 1,
))
->condition('name', 'location_phone')
->condition('type', 'module')
->execute();
}