function location_phone_install in Location 6.3
Same name and namespace in other branches
- 5.3 contrib/location_phone/location_phone.install \location_phone_install()
- 5 contrib/location_phone/location_phone.install \location_phone_install()
- 7.5 contrib/location_phone/location_phone.install \location_phone_install()
- 7.3 contrib/location_phone/location_phone.install \location_phone_install()
- 7.4 contrib/location_phone/location_phone.install \location_phone_install()
Implementation of hook_install().
File
- contrib/
location_phone/ location_phone.install, line 39 - Installation routines.
Code
function location_phone_install() {
drupal_install_schema('location_phone');
// Change weight.
db_query("UPDATE {system} SET weight = 1 WHERE name = '%s' AND type = '%s'", 'location_phone', 'module');
}